Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲2.12MB] [CPU: ▲9.67ms] Passed 4 tests
A check of server-side resources used by WP Vehicle Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.82 ▲2.36 | 56.38 ▲15.51 |
Dashboard /wp-admin | 5.57 ▲2.22 | 67.12 ▲6.32 |
Posts /wp-admin/edit.php | 5.48 ▲2.12 | 59.50 ▲8.92 |
Add New Post /wp-admin/post-new.php | 7.97 ▲2.09 | 100.82 ▲7.92 |
Media Library /wp-admin/upload.php | 5.28 ▲2.05 | 60.45 ▲23.23 |
Conditions /wp-admin/admin.php?page=jsvm_conditions | 5.62 | 54.91 |
Vehicles /wp-admin/admin.php?page=jsvm_vehicle | 5.73 | 43.68 |
Premium Addon /wp-admin/admin.php?page=purchasehistory | 5.52 | 44.39 |
Users /wp-admin/admin.php?page=jsvm_user | 6.01 | 56.45 |
Premium Addon /wp-admin/admin.php?page=export | 5.52 | 45.20 |
Premium Addon /wp-admin/admin.php?page=creditspack | 5.52 | 45.98 |
Email options /wp-admin/admin.php?page=jsvm_emailtemplatestatus | 5.61 | 53.92 |
Premium Addon /wp-admin/admin.php?page=buyercontacttoseller | 5.52 | 43.18 |
Fuel Types /wp-admin/admin.php?page=jsvm_fueltypes | 5.63 | 52.65 |
Premium Addon /wp-admin/admin.php?page=themes | 5.52 | 45.46 |
Server storage [IO: ▲8.76MB] [DB: ▲0.14MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 915 new files
Database: 25 new tables, 11 new options
New tables |
---|
wp_js_vehiclemanager_vehicleimages |
wp_js_vehiclemanager_transmissions |
wp_js_vehiclemanager_fieldsordering |
wp_js_vehiclemanager_users |
wp_js_vehiclemanager_countries |
wp_js_vehiclemanager_cylinders |
wp_js_vehiclemanager_emailtemplates_config |
wp_js_vehiclemanager_config |
wp_js_vehiclemanager_states |
wp_js_vehiclemanager_cities |
... |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_widget_js_vehicle_manager_vehicles_by_cities_widget_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
jsvehiclemanager_do_activation_redirect |
widget_widget_js_vehicle_manager_pages_widget_options |
can_compress_scripts |
_wpjsvm_session_ |
... |
Browser metrics Passed 4 tests
WP Vehicle Manager: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,207 ▲461 | 14.30 ▼0.10 | 7.12 ▲5.47 | 39.92 ▼2.47 |
Dashboard /wp-admin | 2,503 ▲318 | 5.63 ▲0.53 | 120.55 ▲8.50 | 99.91 ▲53.73 |
Posts /wp-admin/edit.php | 2,175 ▲86 | 2.43 ▲0.38 | 40.84 ▲3.23 | 33.01 ▼3.51 |
Add New Post /wp-admin/post-new.php | 18,080 ▲16,566 | 25.91 ▲8.27 | 1,240.87 ▲554.83 | 38.38 ▼20.38 |
Media Library /wp-admin/upload.php | 1,460 ▲75 | 4.56 ▲0.42 | 109.18 ▲11.47 | 81.87 ▲35.88 |
Conditions /wp-admin/admin.php?page=jsvm_conditions | 1,646 | 2.76 | 49.00 | 89.27 |
Vehicles /wp-admin/admin.php?page=jsvm_vehicle | 2,058 | 2.76 | 112.45 | 48.50 |
Premium Addon /wp-admin/admin.php?page=purchasehistory | 1,381 | 2.23 | 35.58 | 74.02 |
Users /wp-admin/admin.php?page=jsvm_user | 1,649 | 2.69 | 50.42 | 54.34 |
Premium Addon /wp-admin/admin.php?page=export | 1,387 | 2.22 | 33.96 | 61.77 |
Premium Addon /wp-admin/admin.php?page=creditspack | 1,381 | 2.22 | 35.93 | 60.84 |
Email options /wp-admin/admin.php?page=jsvm_emailtemplatestatus | 1,619 | 2.76 | 48.99 | 85.36 |
Premium Addon /wp-admin/admin.php?page=buyercontacttoseller | 1,381 | 2.23 | 33.96 | 76.12 |
Fuel Types /wp-admin/admin.php?page=jsvm_fueltypes | 1,751 | 2.64 | 49.34 | 86.41 |
Premium Addon /wp-admin/admin.php?page=themes | 1,384 | 2.21 | 34.71 | 49.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 11 options
- _wpjsvm_session_
- widget_widget_js_vehicle_manager_pages_widget_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_widget_js_vehicle_manager_vehicles_widget_options
- widget_widget_js_vehicle_manager_vehicles_by_cities_widget_options
- theysaidso_admin_options
- widget_recent-comments
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=jsvm_vehicle
- > Notice in wp-content/plugins/js-vehicle-manager/js-vehicle-manager.php+425
Trying to access array offset on value of type bool
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=themes
- > Notice in wp-content/plugins/js-vehicle-manager/modules/premiumplugin/tmpl/admin_missingaddon.php+13
Undefined offset: 1
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
- 190× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/js-vehicle-manager/modules/cylinders/tmpl/admin_cylinders.php
- > /wp-content/plugins/js-vehicle-manager/includes/activation.php
- > /wp-content/plugins/js-vehicle-manager/includes/tables/zip.php
- > /wp-content/plugins/js-vehicle-manager/modules/configuration/tmpl/admin_configurations.php
- > /wp-content/plugins/js-vehicle-manager/includes/css/site_color.php
- > /wp-content/plugins/js-vehicle-manager/modules/fieldordering/model.php
- > /wp-content/plugins/js-vehicle-manager/modules/user/tmpl/stats.php
- > /wp-content/plugins/js-vehicle-manager/includes/lib/oauth_client.php
- > /wp-content/plugins/js-vehicle-manager/modules/make/tmpl/admin_makes.php
- > /wp-content/plugins/js-vehicle-manager/modules/fieldordering/tmpl/admin_searchfieldsordering.php
- 37× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'jsvehiclemanager' not found in wp-content/plugins/js-vehicle-manager/modules/user/tmpl/viewsellerinfo.inc.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/js-vehicle-manager/includes/widgets/jsvehicle_manager_vehicles_widget.php:6
- > PHP Warning
Use of undefined constant CAR_MANAGER_IMAGE - assumed 'CAR_MANAGER_IMAGE' (this will throw an Error in a future version of PHP) in wp-content/plugins/js-vehicle-manager/modules/vehicle/tmpl/vehicledetail.inc.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/js-vehicle-manager/modules/vehicle/tmpl/refinesearchpopup.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/js-vehicle-manager/includes/addon-updater/views/html-key-input.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugins() in wp-content/plugins/js-vehicle-manager/modules/premiumplugin/tmpl/admin_step2.php:2
- > PHP Fatal error
Uncaught Error: Class 'JSVEHICLEMANAGERincluder' not found in wp-content/plugins/js-vehicle-manager/modules/premiumplugin/tmpl/admin_missingaddon.php:3
- > PHP Warning
Use of undefined constant CAR_MANAGER_IMAGE - assumed 'CAR_MANAGER_IMAGE' (this will throw an Error in a future version of PHP) in wp-content/plugins/js-vehicle-manager/modules/vehicle/tmpl/vehicledetail.inc.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/js-vehicle-manager/modules/postinstallation/tmpl/admin_demoimporter.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/js-vehicle-manager/modules/user/tmpl/profile.inc.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=themes
- > Javascript (severe) in unknown
https://www.google.com/jsapi?autoload=%7B%27modules%27%3A%5B%7B%27name%27%3A%27visualization%27%2C%27version%27%3A%271%27%2C%27packages%27%3A%5B%27corechart%27%5D%7D%5D%7D&ver=6.3.1 150:139 Uncaught Error: Autoload failed with: SyntaxError: Expected proper…me or '}' in JSON at position 1 (line 1 column 2)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jsvm_user
- > Network (severe)
wp-content/plugins/js-vehicle-manager/includes/images/normal-button - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=purchasehistory
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).accordion is not a function" "TypeError: jQuery(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=purchasehistory:154:26)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=themes
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).accordion is not a function
- > GET request to /wp-admin/admin.php?page=export
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).accordion is not a function" "TypeError: jQuery(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=export:154:26)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=creditspack
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).accordion is not a function" "TypeError: jQuery(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=creditspack:154:26)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=buyercontacttoseller
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).accordion is not a function" "TypeError: jQuery(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=buyercontacttoseller:154:26)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=themes
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).accordion is not a function" "TypeError: jQuery(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=themes:154:26)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: There are too many tags (34 tag instead of maximum 10)
js-vehicle-manager/js-vehicle-manager.php Passed 13 tests
The main PHP file in "WP Vehicle Manager" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
WP Vehicle Manager is Word Press most comprehensive and easist show room plugin.
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin79,432 lines of code in 283 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 224 | 5,042 | 11,113 | 55,570 |
CSS | 22 | 1,616 | 261 | 13,362 |
PO File | 2 | 2,647 | 3,154 | 5,446 |
JavaScript | 18 | 515 | 584 | 4,607 |
JSON | 1 | 0 | 0 | 398 |
SQL | 15 | 4 | 0 | 48 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 574)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 63.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 823.00 |
Average method complexity | 8.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 574.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 117 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 117 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,039 | |
▷ Static methods | 70 | 6.74% |
▷ Public methods | 1,022 | 98.36% |
▷ Protected methods | 1 | 0.10% |
▷ Private methods | 16 | 1.54% |
Functions | 103 | |
▷ Named functions | 103 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 124 | |
▷ Global constants | 124 | 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
553 compressed PNG files occupy 2.20MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/default-makes/eagle.png | 6.64KB | 6.64KB | 0.01% |
includes/css/images/ui-bg_flat_0_eeeeee_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/images/vc-icons/list_vehicles.png | 0.24KB | 0.24KB | 0.00% |
includes/images/left-icons/faqs.png | 0.70KB | 0.67KB | ▼ 5.27% |
includes/images/fe-forced-delete.png | 0.35KB | 0.33KB | ▼ 5.93% |