Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲5.88MB] [CPU: ▲38.76ms] 75% from 4 tests
An overview of server-side resources used by Clasify Classified Listing
It is recommended to improve the following
- Extra RAM: The extra memory usage must be under 5MB (currently 5.88MB on /wp-admin/edit.php?post_type=cl_cpt&page=listing_settings_func)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.50 ▲5.04 | 72.78 ▲33.71 |
Dashboard /wp-admin | 9.47 ▲6.13 | 92.95 ▲24.08 |
Posts /wp-admin/edit.php | 9.60 ▲6.24 | 89.33 ▲40.20 |
Add New Post /wp-admin/post-new.php | 12.07 ▲6.19 | 162.21 ▲58.47 |
Media Library /wp-admin/upload.php | 9.38 ▲6.15 | 95.66 ▲57.06 |
Status /wp-admin/edit-tags.php?taxonomy=listing_status&post_type=cl_cpt | 9.41 | 86.66 |
Add New Listings /wp-admin/post-new.php?post_type=cl_cpt | 9.56 | 122.46 |
Locations /wp-admin/edit-tags.php?taxonomy=listing_location&post_type=cl_cpt | 9.41 | 75.95 |
Categories /wp-admin/edit-tags.php?taxonomy=listings_category&post_type=cl_cpt | 9.41 | 73.81 |
Features /wp-admin/edit-tags.php?taxonomy=listing_features&post_type=cl_cpt | 9.41 | 71.99 |
Payments /wp-admin/edit.php?post_type=cl_cpt&page=cl-payment-history | 9.80 | 71.10 |
Discounts /wp-admin/edit.php?post_type=cl_cpt&page=cl_discounts | 9.51 | 72.94 |
All Clasify Classified /wp-admin/edit.php?post_type=cl_cpt | 9.46 | 73.59 |
Conditions /wp-admin/edit-tags.php?taxonomy=listing_conditions&post_type=cl_cpt | 9.41 | 74.72 |
Settings /wp-admin/edit.php?post_type=cl_cpt&page=listing_settings_func | 9.38 | 70.99 |
Server storage [IO: ▲5.50MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 752 new files
Database: 3 new tables, 12 new options
New tables |
---|
wp_enquiry_message |
wp_cl_customermeta |
wp_cl_customers |
New WordPress options |
---|
theysaidso_admin_options |
wp_cl_customermeta_db_version |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_listing-search |
widget_listing-enquiry |
cl_use_php_sessions |
wp_cl_customers_db_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Clasify Classified Listing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,299 ▲513 | 16.68 ▲2.33 | 30.41 ▲28.18 | 46.30 ▲4.35 |
Dashboard /wp-admin | 2,478 ▲298 | 6.56 ▲0.89 | 113.49 ▲13.25 | 39.91 ▼5.05 |
Posts /wp-admin/edit.php | 2,409 ▲309 | 3.72 ▲1.69 | 54.40 ▲13.93 | 33.93 ▼7.92 |
Add New Post /wp-admin/post-new.php | 1,828 ▲300 | 21.84 ▼1.22 | 634.44 ▼40.59 | 30.05 ▼45.18 |
Media Library /wp-admin/upload.php | 1,546 ▲146 | 4.52 ▲0.39 | 81.40 ▼27.50 | 46.05 ▼1.12 |
Status /wp-admin/edit-tags.php?taxonomy=listing_status&post_type=cl_cpt | 1,559 | 3.61 | 43.25 | 29.49 |
Add New Listings /wp-admin/post-new.php?post_type=cl_cpt | 4,298 | 8.90 | 228.80 | 101.52 |
Locations /wp-admin/edit-tags.php?taxonomy=listing_location&post_type=cl_cpt | 1,587 | 3.58 | 44.45 | 30.92 |
Categories /wp-admin/edit-tags.php?taxonomy=listings_category&post_type=cl_cpt | 1,587 | 3.69 | 47.72 | 30.08 |
Features /wp-admin/edit-tags.php?taxonomy=listing_features&post_type=cl_cpt | 1,558 | 3.59 | 43.79 | 28.92 |
Payments /wp-admin/edit.php?post_type=cl_cpt&page=cl-payment-history | 1,435 | 3.43 | 44.63 | 26.75 |
Discounts /wp-admin/edit.php?post_type=cl_cpt&page=cl_discounts | 1,372 | 3.51 | 40.78 | 28.35 |
All Clasify Classified /wp-admin/edit.php?post_type=cl_cpt | 1,461 | 3.72 | 48.13 | 27.69 |
Conditions /wp-admin/edit-tags.php?taxonomy=listing_conditions&post_type=cl_cpt | 1,554 | 3.53 | 42.85 | 32.27 |
Settings /wp-admin/edit.php?post_type=cl_cpt&page=listing_settings_func | 2,162 | 3.39 | 44.76 | 26.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_cl_customermeta
- wp_enquiry_message
- wp_cl_customers
- Zombie WordPress options detected upon uninstall: 12 options
- cl_use_php_sessions
- cl_admin_settings
- wp_cl_customermeta_db_version
- can_compress_scripts
- widget_listing-enquiry
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_listing-search
- wp_cl_customers_db_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/update_certs.php
- > /wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/build.php
- 548× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/clasify-classified-listing/templates/frontend/listings/dashboard/edit/group.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\Test\\TestCase' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/clasify-classified-listing/templates/admin/supports.php:2
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/lib/Service/CustomerService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/lib/Capability.php:23
- > PHP Fatal error
Uncaught Error: Class 'CL_Stripe_Utils_Registry' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/includes/admin/class-notices-registry.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/clasify-classified-listing/src/Admin/MetaBoxes/Forms/group_inc/textarea.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #3, #4, #5, #6, #7, #8 in clasify-classified-listing/assets to your readme.txt
clasify-classified-listing/index.php 77% from 13 tests
The main file in "Clasify Classified Listing" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7.0" instead of "5.2")
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.6.0" instead of "7.2")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("clasify-classified-listing.php" instead of "index.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Please fix the following items
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/clasify-classified-listing/src/Front/Purchase/Gateways/Stripe/stripe/vendor/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 618 | 10,911 | 23,908 | 49,146 |
JavaScript | 58 | 1,115 | 1,230 | 9,058 |
CSS | 20 | 574 | 250 | 6,736 |
Markdown | 4 | 738 | 0 | 1,341 |
Sass | 4 | 97 | 2 | 623 |
JSON | 5 | 0 | 0 | 406 |
SVG | 7 | 16 | 0 | 161 |
XML | 2 | 2 | 0 | 54 |
make | 1 | 8 | 0 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 282.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 85.00 |
Code structure | ||
---|---|---|
Namespaces | 68 | |
Interfaces | 10 | |
Traits | 8 | |
Classes | 421 | |
▷ Abstract classes | 15 | 3.56% |
▷ Concrete classes | 406 | 96.44% |
▷ Final classes | 1 | 0.25% |
Methods | 2,170 | |
▷ Static methods | 208 | 9.59% |
▷ Public methods | 1,863 | 85.85% |
▷ Protected methods | 152 | 7.00% |
▷ Private methods | 155 | 7.14% |
Functions | 426 | |
▷ Named functions | 401 | 94.13% |
▷ Anonymous functions | 25 | 5.87% |
Constants | 800 | |
▷ Global constants | 29 | 3.62% |
▷ Class constants | 771 | 96.38% |
▷ Public constants | 771 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/img/marker.png | 14.64KB | 7.78KB | ▼ 46.90% |
assets/css/plugins/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
assets/css/plugins/images/marker-icon.png | 1.14KB | 1.07KB | ▼ 6.24% |
assets/img/placeholder-gallery.png | 70.43KB | 28.63KB | ▼ 59.35% |
assets/img/placeholder.png | 5.28KB | 4.04KB | ▼ 23.47% |