Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.83MB] [CPU: ▼2.84ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Classified Listings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.34 ▲0.88 | 42.75 ▼3.27 |
Dashboard /wp-admin | 4.16 ▲0.82 | 47.46 ▼7.16 |
Posts /wp-admin/edit.php | 4.21 ▲0.85 | 52.67 ▲9.68 |
Add New Post /wp-admin/post-new.php | 6.81 ▲0.92 | 89.79 ▼8.99 |
Media Library /wp-admin/upload.php | 4.02 ▲0.79 | 41.62 ▲8.08 |
Settings /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_settings | 3.89 | 28.27 |
Fields Sections /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_sections | 3.89 | 30.39 |
Fields Builder /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_builder | 3.89 | 28.03 |
Sellers /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_sellers | 3.89 | 29.80 |
Tags /wp-admin/edit-tags.php?taxonomy=uclwp_listing_tag&post_type=uclwp_listing | 4.01 | 35.05 |
Categories /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing | 4.28 | 45.86 |
Server storage [IO: ▲2.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 124 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate Classified Listings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,109 ▲348 | 13.70 ▼0.88 | 13.44 ▲11.50 | 42.05 ▼7.85 |
Dashboard /wp-admin | 2,257 ▲80 | 5.78 ▲0.11 | 84.15 ▼5.92 | 38.13 ▼1.95 |
Posts /wp-admin/edit.php | 2,169 ▲66 | 2.40 ▲0.41 | 38.10 ▼1.83 | 34.41 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,575 ▲47 | 23.73 ▲0.50 | 703.58 ▲94.84 | 61.13 ▲5.79 |
Media Library /wp-admin/upload.php | 1,465 ▲62 | 4.31 ▲0.09 | 98.00 ▼1.82 | 43.51 ▲0.36 |
Settings /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_settings | 28 | 0.42 | 0.08 | 3.77 |
Fields Sections /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_sections | 28 | 0.42 | 0.09 | 3.43 |
Fields Builder /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_builder | 28 | 0.42 | 0.09 | 3.73 |
Sellers /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_sellers | 28 | 0.42 | 0.06 | 3.35 |
Tags /wp-admin/edit-tags.php?taxonomy=uclwp_listing_tag&post_type=uclwp_listing | 1,308 | 2.41 | 28.88 | 29.61 |
Categories /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing | 8,059 | 2.47 | 30.82 | 51.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ultimate-classified-listings/templates/content-single/checkboxes.php
- > /wp-content/plugins/ultimate-classified-listings/inc/admin/metabox-info.php
- 50× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-classified-listings/classes/class-ucl-init.php:12
- > PHP Notice
Undefined variable: value in wp-content/plugins/ultimate-classified-listings/templates/content-single/checkboxes.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-classified-listings/inc/admin/add-category-image.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ultimate-classified-listings/templates/content-single/section.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-classified-listings/inc/admin/fields-builder.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ultimate-classified-listings/classes/class-shortcodes.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-classified-listings/classes/class-register-cpt.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/ultimate-classified-listings/shortcodes/dashboard/profile.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ultimate-classified-listings/templates/loop/1/grid.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-classified-listings/classes/class-email.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_settings
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_settings - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_sections
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_sections - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_builder
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_fields_builder - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_sellers
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=uclwp_listing_category&post_type=uclwp_listing&page=uclwp_listing_sellers - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: real-estate, classifieds, directory, classified-ads, search...
ultimate-classified-listings/ultimate-classified-listings.php Passed 13 tests
The main PHP file in "Ultimate Classified Listings" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
68 characters long description:
A simple yet complete classifieds and listings system for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin32,080 lines of code in 105 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 23 | 215 | 66 | 13,983 |
JavaScript | 30 | 3,178 | 3,700 | 10,811 |
PHP | 51 | 736 | 199 | 7,267 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 94 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
assets/images/pin-drag.png | 3.06KB | 1.82KB | ▼ 40.69% |
assets/leaflet/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
assets/libs/css/images/imgs-grid-icons.png | 1.62KB | 0.89KB | ▼ 45.18% |
assets/leaflet/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |