Benchmarks
Plugin footprint 64% 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: ▲7.09MB] [CPU: ▲42.32ms] 50% from 4 tests
This is a short check of server-side resources used by Classified Listing – Classified ads & Business Directory Plugin
Please fix the following
- RAM: Try to keep total memory usage under 10MB (currently 10.47MB on /wp-admin/edit.php?post_type=rtcl_payment)
- Extra RAM: Extra memory usage should kept under 5MB (currently 7.09MB on /wp-admin/edit.php?post_type=rtcl_payment)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.88 ▲7.41 | 89.83 ▲40.90 |
Dashboard /wp-admin | 10.45 ▲7.11 | 84.10 ▲22.93 |
Posts /wp-admin/edit.php | 10.45 ▲7.10 | 101.33 ▲55.14 |
Add New Post /wp-admin/post-new.php | 12.80 ▲6.92 | 151.13 ▲58.21 |
Media Library /wp-admin/upload.php | 10.45 ▲7.22 | 84.67 ▲50.29 |
Add New /wp-admin/post-new.php?post_type=rtcl_listing | 10.92 | 111.55 |
Pricing /wp-admin/edit.php?post_type=rtcl_pricing | 10.45 | 83.09 |
Tags /wp-admin/edit-tags.php?taxonomy=rtcl_tag&post_type=rtcl_listing | 10.45 | 73.32 |
Custom Fields /wp-admin/edit.php?post_type=rtcl_cfg | 10.45 | 75.93 |
Settings /wp-admin/edit.php?post_type=rtcl_listing&page=rtcl-settings | 10.51 | 75.07 |
All Listings /wp-admin/edit.php?post_type=rtcl_listing | 10.48 | 76.98 |
Locations /wp-admin/edit-tags.php?taxonomy=rtcl_location&post_type=rtcl_listing | 10.45 | 80.21 |
Import /wp-admin/edit.php?post_type=rtcl_listing&page=rtcl-import-export | 10.45 | 70.36 |
Categories /wp-admin/edit-tags.php?taxonomy=rtcl_category&post_type=rtcl_listing | 10.45 | 76.03 |
Payment History /wp-admin/edit.php?post_type=rtcl_payment | 10.47 | 76.55 |
Server storage [IO: ▲14.09MB] [DB: ▲0.03MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 568 new files
Database: 1 new table, 24 new options
New tables |
---|
wp_rtcl_sessions |
New WordPress options |
---|
rtcl_email_user_settings_updated_temp |
rtcl_general_settings |
widget_recent-posts |
theysaidso_admin_options |
widget_rtcl-widget-search |
rtcl_chat_settings |
can_compress_scripts |
widget_recent-comments |
rtcl_queue_flush_rewrite_rules |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Classified Listing – Classified ads & Business Directory Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,305 ▲558 | 15.41 ▲0.82 | 48.28 ▲46.42 | 37.13 ▼5.63 |
Dashboard /wp-admin | 2,346 ▲175 | 5.61 ▲0.00 | 93.67 ▼5.20 | 84.28 ▲37.58 |
Posts /wp-admin/edit.php | 2,256 ▲156 | 2.16 ▲0.20 | 39.03 ▼1.11 | 34.25 ▼2.97 |
Add New Post /wp-admin/post-new.php | 6,447 ▲4,918 | 31.87 ▲8.75 | 1,025.12 ▲428.02 | 222.16 ▲168.61 |
Media Library /wp-admin/upload.php | 1,548 ▲154 | 4.19 ▼0.03 | 97.34 ▼4.28 | 76.50 ▲31.22 |
Add New /wp-admin/post-new.php?post_type=rtcl_listing | 4,024 | 11.44 | 299.73 | 111.07 |
Pricing /wp-admin/edit.php?post_type=rtcl_pricing | 1,364 | 2.79 | 45.13 | 31.54 |
Tags /wp-admin/edit-tags.php?taxonomy=rtcl_tag&post_type=rtcl_listing | 1,394 | 2.43 | 29.07 | 35.13 |
Custom Fields /wp-admin/edit.php?post_type=rtcl_cfg | 1,397 | 3.06 | 51.15 | 53.73 |
Settings /wp-admin/edit.php?post_type=rtcl_listing&page=rtcl-settings | 2,836 | 4.17 | 75.77 | 106.01 |
All Listings /wp-admin/edit.php?post_type=rtcl_listing | 1,678 | 4.80 | 99.64 | 65.11 |
Locations /wp-admin/edit-tags.php?taxonomy=rtcl_location&post_type=rtcl_listing | 1,478 | 2.33 | 32.49 | 38.00 |
Import /wp-admin/edit.php?post_type=rtcl_listing&page=rtcl-import-export | 1,000 | 9.26 | 83.24 | 40.18 |
Categories /wp-admin/edit-tags.php?taxonomy=rtcl_category&post_type=rtcl_listing | 4,056 | 2.45 | 30.07 | 41.92 |
Payment History /wp-admin/edit.php?post_type=rtcl_payment | 1,447 | 2.79 | 44.41 | 31.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_rtcl_sessions
- Zombie WordPress options were found after uninstall: 24 options
- rtcl_general_settings
- rtcl_payment_settings
- rtcl_style_settings
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- rtcl_advanced_settings
- current_theme_supports_rtcl
- widget_rtcl-widget-listing
- widget_rtcl-widget-search
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/classified-listing/app/Controllers/Elementor/WidgetSettings/FormFieldSettings.php
- > /wp-content/plugins/classified-listing/app/Controllers/Elementor/WidgetSettings/IconSettings.php
- > /wp-content/plugins/classified-listing/templates/block/category-box/style-1.php
- > /wp-content/plugins/classified-listing/classified-listing.php
- > /wp-content/plugins/classified-listing/app/Abstracts/ElementorWidgetBaseV2.php
- > /wp-content/plugins/classified-listing/templates/listing/social-share.php
- > /wp-content/plugins/classified-listing/templates/elementor/search/fields/types-field.php
- > /wp-content/plugins/classified-listing/templates/elementor/search/fields/price-field.php
- > /wp-content/plugins/classified-listing/app/Controllers/Elementor/WidgetSettings/ButtonSettings.php
- > /wp-content/plugins/classified-listing/templates/elementor/search/fields/category-field.php
- 230× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: can_search_by_price in wp-content/plugins/classified-listing/templates/widgets/search/inline.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'Rtcl\\Models\\RtclEmail' not found in wp-content/plugins/classified-listing/app/Emails/ContactEmailToAdmin.php:8
- > PHP Fatal error
Uncaught Error: Class 'Rtcl\\Models\\RtclEmail' not found in wp-content/plugins/classified-listing/app/Emails/OrderCreatedEmailToCustomer.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/classified-listing/templates/block/all-location/grid/style-1.php:22
- > PHP Fatal error
Uncaught Error: Class 'Rtcl\\Models\\RtclEmail' not found in wp-content/plugins/classified-listing/app/Emails/OrderCreatedEmailToAdmin.php:11
- > PHP Fatal error
Uncaught Error: Class 'Rtcl\\Models\\RtclEmail' not found in wp-content/plugins/classified-listing/app/Emails/ListingModerationEmailToOwner.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/classified-listing/templates/listing-form/contact.php:30
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/classified-listing/templates/listing/social-share.php on line 28
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/classified-listing/views/settings/listing-type.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/classified-listing/views/settings/admin-settings-display.php:10
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
classified-listing/classified-listing.php 92% from 13 tests
"Classified Listing – Classified ads & Business Directory Plugin" version 2.6.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin149,707 lines of code in 524 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 450 | 9,380 | 15,197 | 65,595 |
JSON | 11 | 0 | 0 | 58,357 |
CSS | 11 | 1,222 | 796 | 14,523 |
JavaScript | 38 | 852 | 896 | 8,624 |
Markdown | 7 | 281 | 0 | 1,181 |
C | 1 | 118 | 25 | 668 |
SVG | 3 | 599 | 1 | 660 |
XML | 1 | 4 | 0 | 59 |
m4 | 1 | 8 | 0 | 32 |
C/C++ Header | 1 | 4 | 12 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 22.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 764.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 49 | |
Interfaces | 12 | |
Traits | 28 | |
Classes | 234 | |
▷ Abstract classes | 11 | 4.70% |
▷ Concrete classes | 223 | 95.30% |
▷ Final classes | 3 | 1.35% |
Methods | 2,577 | |
▷ Static methods | 863 | 33.49% |
▷ Public methods | 2,253 | 87.43% |
▷ Protected methods | 107 | 4.15% |
▷ Private methods | 217 | 8.42% |
Functions | 38 | |
▷ Named functions | 9 | 23.68% |
▷ Anonymous functions | 29 | 76.32% |
Constants | 84 | |
▷ Global constants | 15 | 17.86% |
▷ Class constants | 69 | 82.14% |
▷ Public constants | 53 | 76.81% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
24 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/video-play.png | 2.53KB | 2.74KB | 0.00% |
assets/images/icon-32.png | 0.97KB | 0.12KB | ▼ 88.15% |
app/Gateways/Paypal/images/paypal.png | 2.40KB | 1.69KB | ▼ 29.54% |
app/Gateways/Paypal/assets/images/paypal.png | 2.40KB | 1.69KB | ▼ 29.54% |
assets/images/map/buy.png | 3.12KB | 1.77KB | ▼ 43.28% |