Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲4.41MB] [CPU: ▲23.18ms] Passed 4 tests
Server-side resources used by RealHomes Memberships
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.84 ▲4.38 | 57.98 ▲19.57 |
Dashboard /wp-admin | 7.73 ▲4.43 | 73.69 ▲24.28 |
Posts /wp-admin/edit.php | 7.85 ▲4.49 | 74.96 ▲25.88 |
Add New Post /wp-admin/post-new.php | 10.30 ▲4.41 | 119.53 ▲32.08 |
Media Library /wp-admin/upload.php | 7.64 ▲4.41 | 59.61 ▲22.97 |
New Membership /wp-admin/post-new.php?post_type=ims_membership | 7.79 | 64.90 |
Memberships /wp-admin/edit.php?post_type=ims_membership | 7.71 | 63.69 |
Receipts /wp-admin/edit.php?post_type=ims_receipt | 7.71 | 72.04 |
Settings /wp-admin/admin.php?page=ims_settings | 7.63 | 61.44 |
New Receipt /wp-admin/post-new.php?post_type=ims_receipt | 7.79 | 64.63 |
Server storage [IO: ▲2.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 400 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ims_basic_settings |
can_compress_scripts |
ims_paypal_settings |
widget_recent-posts |
ims_wire_settings |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
ims_stripe_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
RealHomes Memberships: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲207 | 14.40 ▼0.17 | 1.71 ▼0.05 | 35.78 ▼10.71 |
Dashboard /wp-admin | 2,374 ▲193 | 6.14 ▲0.37 | 119.07 ▲3.86 | 43.87 ▼1.62 |
Posts /wp-admin/edit.php | 2,302 ▲199 | 3.32 ▲1.32 | 53.85 ▲14.71 | 36.81 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.36 ▲0.28 | 672.29 ▼106.28 | 34.87 ▼23.62 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.13 ▼0.15 | 81.94 ▼28.35 | 42.38 ▼6.76 |
New Membership /wp-admin/post-new.php?post_type=ims_membership | 1,874 | 3.51 | 61.77 | 35.79 |
Memberships /wp-admin/edit.php?post_type=ims_membership | 1,276 | 3.32 | 43.36 | 26.32 |
Receipts /wp-admin/edit.php?post_type=ims_receipt | 1,300 | 3.38 | 48.48 | 27.29 |
Settings /wp-admin/admin.php?page=ims_settings | 1,442 | 3.11 | 52.06 | 77.05 |
New Receipt /wp-admin/post-new.php?post_type=ims_receipt | 1,841 | 3.43 | 65.13 | 31.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- widget_theysaidso_widget
- ims_wire_settings
- widget_recent-comments
- ims_basic_settings
- can_compress_scripts
- widget_recent-posts
- ims_stripe_settings
- theysaidso_admin_options
- db_upgraded
- ims_paypal_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 293× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Service/MandateService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/TaxCode.php:15
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Service/ReviewService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Service/Terminal/LocationService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Service/Treasury/ReceivedCreditService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Service/BalanceTransactionService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Issuing/Authorization.php:39
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Issuing/Dispute.php:25
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/ExchangeRate.php:24
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/lib/Reporting/ReportType.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=ims_settings
- > Network (severe)
http://condominium.realhomes.local/wp-content/plugins/easy-real-estate//images/logo.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
inspiry-memberships/inspiry-memberships.php Passed 13 tests
This is the main PHP file of "RealHomes Memberships" version 3.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
101 characters long description:
Provides functionality to create membership packages for real estate RealHomes theme by InspiryThemes
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Please make sure to remedy the following
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/inspiry-memberships/resources/stripe-php-12-4-0-sdk/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 354 | 3,821 | 15,512 | 14,293 |
PO File | 7 | 2,116 | 3,594 | 3,437 |
Markdown | 2 | 823 | 0 | 1,799 |
JavaScript | 2 | 58 | 37 | 297 |
CSS | 5 | 27 | 21 | 109 |
JSON | 1 | 0 | 0 | 48 |
SVG | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 9 | |
Traits | 9 | |
Classes | 326 | |
▷ Abstract classes | 10 | 3.07% |
▷ Concrete classes | 316 | 96.93% |
▷ Final classes | 0 | 0.00% |
Methods | 1,132 | |
▷ Static methods | 210 | 18.55% |
▷ Public methods | 1,041 | 91.96% |
▷ Protected methods | 43 | 3.80% |
▷ Private methods | 48 | 4.24% |
Functions | 21 | |
▷ Named functions | 8 | 38.10% |
▷ Anonymous functions | 13 | 61.90% |
Constants | 1,655 | |
▷ Global constants | 8 | 0.48% |
▷ Class constants | 1,647 | 99.52% |
▷ Public constants | 1,647 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/img/paypal-badges.png | 3.73KB | 2.57KB | ▼ 31.21% |
resources/img/checkout-paypal.png | 3.96KB | 2.62KB | ▼ 34.01% |
resources/img/inspiry-logo.png | 1.81KB | 1.90KB | 0.00% |