Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.44ms] Passed 4 tests
Server-side resources used by bbPress Pencil Unread
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 35.97 ▼7.24 |
Dashboard /wp-admin | 3.49 ▲0.14 | 44.34 ▼10.97 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 46.55 ▲1.92 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 89.84 ▲4.50 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.35 ▼1.47 |
bbPress Pencil Unread /wp-admin/options-general.php?page=bbppu | 3.38 | 32.25 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
bbPress Pencil Unread: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.19 | 1.84 ▲0.26 | 38.89 ▼1.14 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼0.07 | 98.99 ▼0.53 | 38.09 ▼2.04 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.17 ▲0.20 | 39.75 ▼1.90 | 34.27 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.45 ▲5.85 | 657.70 ▼4.61 | 48.17 ▼7.94 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.18 ▼0.02 | 98.24 ▼8.81 | 41.50 ▼5.97 |
bbPress Pencil Unread /wp-admin/options-general.php?page=bbppu | 850 | 2.02 | 23.05 | 30.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-pencil-unread/bbppu-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/bbpress-pencil-unread/bbpress-pencil-unread.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-pencil-unread/bbppu-bookmarks.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-pencil-unread/bbppu-forum-marks.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Requires at least: Invalid version format
bbpress-pencil-unread/bbpress-pencil-unread.php 92% from 13 tests
The main PHP script in "bbPress Pencil Unread" version 1.3.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,143 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 418 | 224 | 845 |
PO File | 2 | 45 | 56 | 146 |
Sass | 1 | 11 | 0 | 57 |
CSS | 1 | 0 | 12 | 46 |
JavaScript | 1 | 22 | 15 | 41 |
Ruby | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 34.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 4 | 6.56% |
▷ Public methods | 60 | 98.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.64% |
Functions | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin