Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.45ms] Passed 4 tests
Server-side resources used by bbp last post
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.72 ▼4.03 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.42 ▼5.06 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.78 ▲4.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.51 ▲2.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.76 ▲5.90 |
bbp last post /wp-admin/options-general.php?page=bbp-last-post-settings | 3.21 | 31.25 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_last_post_replies_widget |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by bbp last post
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.60 ▼0.76 | 1.58 ▼0.25 | 39.16 ▼5.91 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.97 | 99.91 ▼14.20 | 36.54 ▼12.21 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.08 | 39.28 ▲2.88 | 36.05 ▲3.98 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.50 ▼5.68 | 671.63 ▼19.14 | 55.57 ▼3.08 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▼0.08 | 99.31 ▼14.56 | 44.16 ▼3.82 |
bbp last post /wp-admin/options-general.php?page=bbp-last-post-settings | 860 | 2.15 | 25.40 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_last_post_replies_widget
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bbp-last-post/bbp-last-post.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbp-last-post/includes/settings.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bbp-last-post/includes/functions.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bbp-last-post/includes/lp-widgets.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (The display before this plugin), #2 (The display after this plugin), #3 (The settings page), #4 (The (last Post) Recent Replies Widget)
bbp-last-post/bbp-last-post.php 92% from 13 tests
The main PHP file in "bbp last post" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected320 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 128 | 228 |
PO File | 1 | 26 | 33 | 92 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin