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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.99ms] Passed 4 tests
A check of server-side resources used by Auto Bulb Finder for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.59 ▼0.87 | 8.28 ▼30.89 |
Dashboard /wp-admin | 3.75 ▲0.41 | 49.02 ▼9.35 |
Posts /wp-admin/edit.php | 3.80 ▲0.45 | 47.82 ▲4.51 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 118.23 ▲16.21 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 35.42 ▲3.77 |
Vehicles /wp-admin/admin.php?page=auto-bulb-finder-vehicle | 3.63 | 33.87 |
Adaptions /wp-admin/admin.php?page=auto-bulb-finder-adaption | 3.63 | 36.23 |
Statistics /wp-admin/admin.php?page=auto-bulb-finder-statistic | 3.59 | 30.68 |
Auto Bulb /wp-admin/admin.php?page=auto-bulb-finder-for-wp-wc | 3.64 | 44.04 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_abfinder_adaptions |
wp_abfinder_vehicles |
wp_abfinder_vehicle_query_history |
New WordPress options |
---|
can_compress_scripts |
app_promotion_html |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
abfinder_db_version |
enable_vehicle_post |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Bulb Finder for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 14.00 ▼0.31 | 5.37 ▲3.49 | 35.66 ▼4.26 |
Dashboard /wp-admin | 2,243 ▲58 | 5.83 ▲0.90 | 102.80 ▼3.36 | 71.63 ▲27.04 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.02 ▼0.04 | 33.65 ▼5.16 | 32.51 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 23.36 ▲0.11 | 739.35 ▲100.37 | 52.62 ▲5.33 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.13 ▼0.08 | 105.41 ▲3.90 | 46.75 ▲2.45 |
Vehicles /wp-admin/admin.php?page=auto-bulb-finder-vehicle | 991 | 2.07 | 24.91 | 26.84 |
Adaptions /wp-admin/admin.php?page=auto-bulb-finder-adaption | 974 | 2.05 | 23.84 | 25.39 |
Statistics /wp-admin/admin.php?page=auto-bulb-finder-statistic | 894 | 2.03 | 22.37 | 25.18 |
Auto Bulb /wp-admin/admin.php?page=auto-bulb-finder-for-wp-wc | 1,637 | 6.55 | 122.07 | 105.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_abfinder_vehicle_query_history
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- abfinder_db_version
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/abfinder-my-vehicles.php
- > /wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/class-abfinder-loader.php
- > /wp-content/plugins/auto-bulb-finder-for-wp-wc/includes/index.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ABFinder\\Helper\\ABFinder_Database' not found in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/class-abfinder-dynamic.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/admin/settings/class-abfinder-status.php:18
- > PHP Warning
Use of undefined constant ABFINDER_PLUGIN_FILE - assumed 'ABFINDER_PLUGIN_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/class-abfinder-dynamic.php on line 5
- > PHP Warning
include(): Failed opening 'ABFINDER_PLUGIN_FILEtemplates/front/class-abfinder-loader.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/class-abfinder-dynamic.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/admin/settings/class-abfinder-registration.php:2
- > PHP Warning
Use of undefined constant ABFINDER_PLUGIN_URL - assumed 'ABFINDER_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/class-abfinder-loader.php on line 24
- > PHP Notice
Undefined variable: abfCodeStatus in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/admin/settings/class-abfinder-status.php on line 10
- > PHP Notice
Undefined variable: abfCodeStatus in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/admin/settings/class-abfinder-status.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'ABFinder\\Helper\\ABFinder_Database' not found in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/admin/statistics/abfinder-statistics.php:7
- > PHP Notice
Undefined variable: content in wp-content/plugins/auto-bulb-finder-for-wp-wc/templates/front/class-abfinder-dynamic.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 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
3 plugin tags: automotive, year make model, auto bulb
auto-bulb-finder-for-wp-wc/auto-bulb-finder.php 69% from 13 tests
The main PHP script in "Auto Bulb Finder for WordPress" version 2.7.2 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 203 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("auto-bulb-finder-for-wp-wc.php" instead of "auto-bulb-finder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin4,772 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 542 | 609 | 4,072 |
JavaScript | 4 | 42 | 20 | 371 |
CSS | 3 | 71 | 10 | 326 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 28.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 115 | |
▷ Static methods | 1 | 0.87% |
▷ Public methods | 102 | 88.70% |
▷ Protected methods | 2 | 1.74% |
▷ Private methods | 11 | 9.57% |
Functions | 35 | |
▷ Named functions | 32 | 91.43% |
▷ Anonymous functions | 3 | 8.57% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/chosen-sprite@2x.png | 0.53KB | 0.88KB | 0.00% |
assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |