Skip to content

Conversation

@Abdi-Ahmed-Bare
Copy link

This pull request adds a new method surfaceAreaPyramid in Area.java that calculates the surface area of a pyramid with a square base.
The method validates inputs and returns the total surface area as the sum of the base and lateral areas.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.95%. Comparing base (8930369) to head (4c5d65e).

Files with missing lines Patch % Lines
src/main/java/com/thealgorithms/maths/Area.java 0.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6901      +/-   ##
============================================
- Coverage     78.00%   77.95%   -0.05%     
+ Complexity     6444     6443       -1     
============================================
  Files           737      737              
  Lines         21519    21526       +7     
  Branches       4208     4209       +1     
============================================
- Hits          16785    16781       -4     
- Misses         4062     4071       +9     
- Partials        672      674       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Abdi-Ahmed-Bare
Copy link
Author

this is a perfect method for Surface Area of Pyramids

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants