Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.37MB] [CPU: ▲15.08ms] Passed 4 tests
A check of server-side resources used by Car Dealer (Dealership) and Vehicle sales WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.45 ▲0.99 | 55.48 ▲12.69 |
Dashboard /wp-admin | 4.81 ▲1.50 | 68.78 ▲17.34 |
Posts /wp-admin/edit.php | 4.90 ▲1.54 | 69.74 ▲20.41 |
Add New Post /wp-admin/post-new.php | 7.36 ▲1.47 | 121.59 ▲9.87 |
Media Library /wp-admin/upload.php | 4.74 ▲1.52 | 64.75 ▲29.17 |
cardealer_settings /wp-admin/edit.php?post_type=cars&page=cardealer_settings | 4.73 | 59.44 |
Settings /wp-admin/admin.php?page=cardealer-settings | 4.72 | 52.33 |
Team /wp-admin/admin.php?page=md-team | 4.72 | 53.74 |
CarDealer Designer /wp-admin/admin.php?page=md-designer | 4.72 | 54.34 |
Makes /wp-admin/admin.php?page=md-makes | 4.72 | 52.40 |
Dashboard /wp-admin/admin.php?page=car_dealer_plugin | 4.75 | 423.34 |
Fields Table /wp-admin/admin.php?page=fields-table | 4.72 | 61.08 |
CarDealer Designer /wp-admin/themes.php?page=Car_Dealer_Designer | 4.72 | 53.10 |
Cars Table /wp-admin/admin.php?page=cars-table | 4.72 | 53.78 |
Locations /wp-admin/admin.php?page=md-locations | 4.72 | 53.80 |
Server storage [IO: ▲7.09MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 224 new files
Database: no new tables, 27 new options
New WordPress options |
---|
theysaidso_admin_options |
cardealer_plugin_version |
widget_featuredwidget |
widget_searchwidget |
CarDealer_show_year |
can_compress_scripts |
meta_boxes |
CarDealer_recipientEmail |
widget_recent-comments |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Car Dealer (Dealership) and Vehicle sales WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,125 ▲364 | 16.08 ▲1.53 | 11.66 ▲9.94 | 40.45 ▼2.03 |
Dashboard /wp-admin | 2,326 ▲146 | 5.66 ▲0.14 | 112.19 ▲13.21 | 85.49 ▲44.24 |
Posts /wp-admin/edit.php | 2,265 ▲165 | 3.48 ▲1.53 | 58.42 ▲22.18 | 68.09 ▲31.98 |
Add New Post /wp-admin/post-new.php | 1,655 ▲129 | 23.62 ▼0.08 | 684.16 ▼6.20 | 147.76 ▲78.50 |
Media Library /wp-admin/upload.php | 1,542 ▲142 | 5.51 ▲1.22 | 103.89 ▼0.66 | 89.98 ▲44.84 |
cardealer_settings /wp-admin/edit.php?post_type=cars&page=cardealer_settings | 1,440 | 2.56 | 48.18 | 70.22 |
Settings /wp-admin/admin.php?page=cardealer-settings | 2,137 | 3.95 | 45.29 | 41.66 |
Team /wp-admin/admin.php?page=md-team | 2,481 | 5.81 | 84.59 | 42.25 |
CarDealer Designer /wp-admin/admin.php?page=md-designer | 9,755 | 25.40 | 799.21 | 124.19 |
Makes /wp-admin/admin.php?page=md-makes | 2,474 | 4.47 | 52.73 | 40.34 |
Dashboard /wp-admin/admin.php?page=car_dealer_plugin | 1,595 | 2.86 | 42.80 | 69.64 |
Fields Table /wp-admin/admin.php?page=fields-table | 2,269 | 4.78 | 62.83 | 40.06 |
CarDealer Designer /wp-admin/themes.php?page=Car_Dealer_Designer | 941 | 2.63 | 34.88 | 41.36 |
Cars Table /wp-admin/admin.php?page=cars-table | 2,006 | 4.33 | 55.76 | 38.83 |
Locations /wp-admin/admin.php?page=md-locations | 2,215 | 4.26 | 51.24 | 39.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 27 options in the database
- meta_boxes
- bill_last_feedback
- widget_recent-posts
- makes_children
- widget_theysaidso_widget
- CarDealer_show_make
- widget_recentwidget
- CarDealer_show_price
- CarDealer_show_type
- theysaidso_admin_options
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cars-table
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cardealer/includes/checkup/bill_class_diagnose.php
- > /wp-content/plugins/cardealer/includes/templates/template-single.php
- > /wp-content/plugins/cardealer/includes/checkup/_class_bill_catch_errors.php
- > /wp-content/plugins/cardealer/includes/checkup/class_bill_catch_errors.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'CARDEALERPATHassets/php/cardealer_mr_image_resize.php' (include_path='.:/usr/share/php') in wp-content/plugins/cardealer/includes/templates/template-functions4.php on line 476
- > PHP Fatal error
Uncaught Error: Class 'cardealer\\WP\\Settings\\Page' not found in wp-content/plugins/cardealer/settings/options/plugin_options_tabbed.php:10
- > PHP Warning
require_once(CARDEALERPATHassets/php/cardealer_mr_image_resize.php): failed to open stream: No such file or directory in wp-content/plugins/cardealer/includes/templates/template-functions4.php on line 476
- > PHP Warning
Use of undefined constant CARDEALERPATH - assumed 'CARDEALERPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cardealer/includes/templates/template-functions.php on line 187
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cardealer/includes/multi/multi-functions.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cardealer/assets/php/cardealer_mr_image_resize.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function CarDealerPlugin_activate\\is_multisite() in wp-content/plugins/cardealer/includes/feedback/activated-manager.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function CarDealerPlugin_feedback\\is_multisite() in wp-content/plugins/cardealer/includes/feedback/feedback.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cardealer/includes/widgets/widgets.php:9
- > PHP Warning
Use of undefined constant CARDEALERPATH - assumed 'CARDEALERPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cardealer/includes/templates/template-functions4.php on line 476
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=md-designer
- > Security (warning) in unknown
/?customize_changeset_uuid=f892b71b-1842-4862-aa4c-5ce1699b5ba8&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Front cars Page Template Gallery), #2 (Front cars Page Template List View), #3 (cars Table Page), #4 (Front car Post Page), #5 (Search Filter Settings Setup), #6 (Features Fields Page Setup), #7 (Settings Page), #8 (Fields Table), #9 (Team Page)
cardealer/cardealer.php Passed 13 tests
"Car Dealer (Dealership) and Vehicle sales WordPress Plugin" version 4.08's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
40 characters long description:
Car Dealer Plugin for Car Dealer agency.
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
No dangerous file extensions were detected35,063 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 5,086 | 7,003 | 12,115 |
PHP | 46 | 2,435 | 1,212 | 10,241 |
CSS | 25 | 527 | 445 | 6,781 |
SVG | 6 | 0 | 0 | 3,949 |
JavaScript | 20 | 221 | 306 | 1,893 |
HTML | 3 | 54 | 0 | 84 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 12 | 11.01% |
▷ Public methods | 106 | 97.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.75% |
Functions | 141 | |
▷ Named functions | 140 | 99.29% |
▷ Anonymous functions | 1 | 0.71% |
Constants | 56 | |
▷ Global constants | 56 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
37 PNG files occupy 0.47MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/help50.png | 6.20KB | 2.87KB | ▼ 53.74% |
assets/images/close_banner.png | 0.44KB | 0.49KB | 0.00% |
assets/images/oktick.png | 41.43KB | 11.19KB | ▼ 72.99% |
assets/images/info.png | 1.49KB | 1.28KB | ▼ 14.32% |
assets/images/coupon.png | 24.96KB | 5.09KB | ▼ 79.61% |