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.01MB] [CPU: ▼7.86ms] Passed 4 tests
An overview of server-side resources used by WordPress Delicious Recent Bookmarks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.06 ▼2.43 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.78 ▼4.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.95 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.41 ▼22.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.20 ▼1.96 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_wp_delicious_recent_bookmarks_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Delicious Recent Bookmarks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.55 ▼0.82 | 1.93 ▲0.23 | 39.92 ▲0.62 |
Dashboard /wp-admin | 2,205 ▲17 | 5.80 ▼0.10 | 96.77 ▼13.55 | 38.11 ▼5.75 |
Posts /wp-admin/edit.php | 2,088 ▼1 | 1.99 ▼0.04 | 39.09 ▼1.24 | 33.98 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 18.23 ▼4.81 | 607.27 ▼44.97 | 59.93 ▲8.27 |
Media Library /wp-admin/upload.php | 1,384 ▼1 | 4.22 ▲0.03 | 97.58 ▼3.15 | 42.90 ▼2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_wp_delicious_recent_bookmarks_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% 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)
Good news, no errors were detected
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/delicious-recent-bookmarks/wp-delicious-recent-bookmarks.php:26
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
- Screenshots: These screenshots require images: #1 (The widget customization options), #2 (A sample of how your Delicious bookmarks might look)
delicious-recent-bookmarks/wp-delicious-recent-bookmarks.php 92% from 13 tests
"WordPress Delicious Recent Bookmarks" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("delicious-recent-bookmarks.php" instead of "wp-delicious-recent-bookmarks.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
There were no executable files found in this plugin228 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 47 | 181 |
CSS | 1 | 16 | 0 | 47 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 40.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 60.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 32.20KB | 9.42KB | ▼ 70.73% |
screenshot-2.png | 59.75KB | 20.45KB | ▼ 65.77% |