Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.83ms] Passed 4 tests
This is a short check of server-side resources used by WP Classifieds Listings
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.62 ▲0.35 |
Dashboard /wp-admin | 3.45 ▲0.10 | 49.07 ▼16.79 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.17 ▲1.21 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 91.95 ▼12.07 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.02 ▲7.45 |
Payment History /wp-admin/admin.php?page=payment_summary | 3.38 | 36.82 |
Manage Regions /wp-admin/admin.php?page=manage_regions | 3.47 | 35.43 |
Settings /wp-admin/admin.php?page=xyz_cls_settings | 3.60 | 39.25 |
Email Templates /wp-admin/admin.php?page=xyz_cls_email_template | 3.45 | 35.49 |
Manage Cities /wp-admin/admin.php?page=manage_cities | 3.43 | 37.05 |
About /wp-admin/admin.php?page=xyz-cls-about | 3.35 | 34.43 |
Server storage [IO: ▲3.93MB] [DB: ▲0.15MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 162 new files
Database: 7 new tables, 44 new options
New tables |
---|
wp_xyz_cls_email_templates |
wp_xyz_cls_payment_summary |
wp_xyz_cls_countries |
wp_xyz_cls_paypal_ipn |
wp_xyz_cls_listing_details |
wp_xyz_cls_states |
wp_xyz_cls_cities |
New WordPress options |
---|
xyz_wp_cls_city |
xyz_cls_item_type |
xyz_wp_cls_forgotpassword |
xyz_cls_disable_dflt_login |
xyz_cls_needs_pages |
widget_recent-comments |
theysaidso_admin_options |
xyz_cls_default_item_status |
widget_recent-posts |
xyz_wp_cls_register |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Classifieds Listings
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,303 ▲557 | 14.86 ▲0.48 | 11.27 ▲9.30 | 47.39 ▲2.48 |
Dashboard /wp-admin | 2,313 ▲131 | 5.04 ▼0.81 | 97.78 ▼7.95 | 64.69 ▲22.89 |
Posts /wp-admin/edit.php | 2,192 ▲103 | 2.10 ▲0.08 | 39.40 ▲2.40 | 36.45 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,760 ▲246 | 22.36 ▲4.84 | 738.86 ▲42.42 | 39.01 ▼22.34 |
Media Library /wp-admin/upload.php | 1,492 ▲104 | 4.22 ▲0.01 | 93.42 ▼9.14 | 78.99 ▲35.23 |
Payment History /wp-admin/admin.php?page=payment_summary | 1,211 | 1.80 | 28.34 | 53.74 |
Manage Regions /wp-admin/admin.php?page=manage_regions | 2,616 | 2.00 | 37.57 | 39.41 |
Settings /wp-admin/admin.php?page=xyz_cls_settings | 2,966 | 1.88 | 30.85 | 56.81 |
Email Templates /wp-admin/admin.php?page=xyz_cls_email_template | 3,828 | 12.03 | 335.24 | 146.91 |
Manage Cities /wp-admin/admin.php?page=manage_cities | 2,600 | 1.90 | 32.79 | 41.95 |
About /wp-admin/admin.php?page=xyz-cls-about | 1,130 | 1.81 | 25.60 | 37.06 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.14MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall successfully, leaving 7 tables in the database
- wp_xyz_cls_listing_details
- wp_xyz_cls_cities
- wp_xyz_cls_countries
- wp_xyz_cls_email_templates
- wp_xyz_cls_states
- wp_xyz_cls_paypal_ipn
- wp_xyz_cls_payment_summary
- This plugin does not fully uninstall, leaving 11 options in the database
- xyz_cls_custom_fields
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- xyz_cls_category_children
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- xyz_cls_category_view
- xyz_credit_link
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-classifieds-listings/templates/category-item-listing.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-classifieds-listings/admin/admin-notices.php:68
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-classifieds-listings/wp-classifieds-listings.php Passed 13 tests
The main PHP file in "WP Classifieds Listings" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
100 characters long description:
This plugin allows you to convert your worpdress installation into a fully fledged classifieds site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin29,625 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 83 | 358 | 12,538 |
PHP | 39 | 713 | 218 | 12,309 |
SVG | 2 | 0 | 0 | 2,776 |
JavaScript | 5 | 595 | 232 | 1,683 |
PO File | 1 | 150 | 176 | 319 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 7.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 98 | |
▷ Named functions | 98 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
68 PNG files occupy 0.35MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/right-row-prem.png | 2.69KB | 1.44KB | ▼ 46.46% |
images/timg.png | 62.46KB | 40.05KB | ▼ 35.88% |
images/premium-left.png | 2.93KB | 2.05KB | ▼ 30.05% |
images/grn-bg.png | 0.20KB | 0.27KB | 0.00% |
images/suggest.png | 3.30KB | 0.85KB | ▼ 74.28% |