Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼1.57ms] Passed 4 tests
Analyzing server-side resources used by Auction Nudge - Your eBay on Your Site
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 39.25 ▼1.18 |
Dashboard /wp-admin | 3.60 ▲0.25 | 46.44 ▼12.62 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 47.28 ▲1.28 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 95.45 ▲13.01 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 38.89 ▲6.23 |
Auction Nudge /wp-admin/options-general.php?page=an_options_page | 3.49 | 31.21 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
an_options |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_an_ads_widget |
widget_an_feedback_widget |
widget_an_listings_widget |
widget_recent-posts |
widget_an_profile_widget |
... |
Browser metrics Passed 4 tests
Auction Nudge - Your eBay on Your Site: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲53 | 14.23 ▼0.11 | 1.73 ▲0.11 | 46.02 ▲2.77 |
Dashboard /wp-admin | 2,206 ▲28 | 5.68 ▼0.02 | 89.01 ▼23.05 | 38.47 ▼2.54 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.01 ▼0.02 | 37.55 ▼3.45 | 33.98 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,534 ▲4 | 23.23 ▲0.07 | 619.06 ▼9.73 | 46.94 ▼5.90 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.25 ▲0.06 | 101.23 ▲3.65 | 41.37 ▼3.50 |
Auction Nudge /wp-admin/options-general.php?page=an_options_page | 1,055 | 1.70 | 24.38 | 48.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- widget_an_profile_widget
- widget_recent-posts
- an_options
- widget_theysaidso_widget
- db_upgraded
- widget_an_listings_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_an_feedback_widget
- can_compress_scripts
- ...
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auction-nudge/inc/admin.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auction-nudge/inc/front.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/auction-nudge/inc/widgets.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auction-nudge/inc/front.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: feedback, item, ebay, feed, embed...
auction-nudge/auctionnudge.php 92% from 13 tests
The main PHP file in "Auction Nudge - Your eBay on Your Site" ver. 7.1.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("auction-nudge.php" instead of "auctionnudge.php")
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
There were no executable files found in this plugin2,822 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 389 | 471 | 1,735 |
CSS | 2 | 0 | 11 | 286 |
LESS | 1 | 42 | 35 | 286 |
Markdown | 1 | 183 | 0 | 262 |
JavaScript | 2 | 67 | 65 | 253 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 1.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 2 | 22.22% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin