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: ▼0.08MB] [CPU: ▼8.10ms] Passed 4 tests
A check of server-side resources used by salessurvey.de ebay Auktions Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.21 ▼6.64 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.94 ▲0.66 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.26 ▲0.15 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 75.17 ▼25.09 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.20 ▼0.81 |
salessurvey Auctions /wp-admin/options-general.php?page=ss_options | 3.23 | 33.15 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_ss_auction_widget |
widget_ss_badge_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for salessurvey.de ebay Auktions Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 13.47 ▼1.11 | 8.91 ▲7.14 | 39.04 ▼1.82 |
Dashboard /wp-admin | 2,216 ▲39 | 5.69 ▲0.18 | 108.67 ▲5.76 | 57.22 ▲17.16 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.24 ▲0.21 | 38.57 ▼1.49 | 34.99 ▼2.33 |
Add New Post /wp-admin/post-new.php | 7,172 ▲5,646 | 18.98 ▼4.60 | 954.94 ▲322.07 | 67.47 ▲5.00 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.52 ▲0.37 | 95.89 ▼5.99 | 39.93 ▼5.58 |
salessurvey Auctions /wp-admin/options-general.php?page=ss_options | 912 | 1.83 | 28.82 | 35.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_ss_auction_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_ss_badge_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/netnovate-salessurvey/inc/backend.php:95
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/netnovate-salessurvey/inc/frontend.php:71
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/netnovate-salessurvey/inc/widgets.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: listings, feedback, salessurvey, auktionen, bewertungen...
netnovate-salessurvey/netnovate-salessurvey.php 92% from 13 tests
The main file in "salessurvey.de ebay Auktions Plugin" v. 1.31 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 292 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,917 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 181 | 29 | 911 |
PO File | 4 | 316 | 344 | 777 |
JavaScript | 5 | 54 | 6 | 153 |
CSS | 2 | 12 | 0 | 76 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/widget_template2.png | 2.36KB | 1.08KB | ▼ 54.35% |
assets/img/widget_template4.png | 1.84KB | 0.79KB | ▼ 57.18% |
assets/img/widget_template1.png | 2.73KB | 1.14KB | ▼ 58.41% |
assets/img/widget_template3.png | 2.84KB | 1.39KB | ▼ 50.89% |