Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.83ms] Passed 4 tests
Analyzing server-side resources used by Notification : bbPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.10 ▼5.45 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.90 ▼4.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.68 ▲1.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.27 ▼2.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.71 ▲3.10 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Notification : bbPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.14 ▼1.17 | 1.59 ▼0.32 | 36.97 ▼13.44 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.21 | 114.86 ▼1.15 | 44.16 ▲0.90 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▼0.01 | 38.83 ▲3.26 | 35.30 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 22.89 ▲4.59 | 663.01 ▲28.78 | 56.32 ▲1.77 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.24 ▲0.07 | 94.26 ▼5.94 | 41.58 ▼0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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)
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
Please take a closer look at the following
- 27× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/notification-bbpress/notification-bbpress.php:97
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\bbPress\\Repository\\Trigger\\Topic' not found in wp-content/plugins/notification-bbpress/src/Repository/Trigger/Topic/Created.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\bbPress\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/notification-bbpress/vendor/micropackage/requirements/src/Checker/DocHooks.php:16
- > PHP Fatal error
Trait 'BracketSpace\otification\\bbPress\\Vendor\\Micropackage\\DocHooks\\HookTrait' not found in wp-content/plugins/notification-bbpress/src/Runtime.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\bbPress\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/notification-bbpress/vendor/micropackage/requirements/src/Checker/PHP.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\bbPress\\Repository\\Trigger\\Forum' not found in wp-content/plugins/notification-bbpress/src/Repository/Trigger/Forum/Removed.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Abstracts\\Trigger' not found in wp-content/plugins/notification-bbpress/src/Repository/Trigger/Forum.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\bbPress\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/notification-bbpress/vendor/micropackage/requirements/src/Checker/SSL.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\bbPress\\Repository\\Trigger\\Reply' not found in wp-content/plugins/notification-bbpress/src/Repository/Trigger/Reply/Updated.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Abstracts\\Trigger' not found in wp-content/plugins/notification-bbpress/src/Repository/Trigger/Topic.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: notify, bbpress, mail, email, trigger...
notification-bbpress/notification-bbpress.php 92% from 13 tests
The entry point to "Notification : bbPress" version 3.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: Use only dashes and lowercase characters for the domain path ("resources/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,448 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 842 | 1,780 | 2,747 |
JSON | 1 | 0 | 0 | 485 |
Markdown | 6 | 48 | 0 | 79 |
JavaScript | 2 | 4 | 44 | 54 |
PO File | 1 | 9 | 11 | 46 |
XML | 2 | 0 | 0 | 34 |
Sass | 1 | 1 | 1 | 3 |
CSS | 1 | 2 | 4 | 0 |
PHP code Passed 2 tests
An overview 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.33 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 42 | |
▷ Abstract classes | 4 | 9.52% |
▷ Concrete classes | 38 | 90.48% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 29 | 18.35% |
▷ Public methods | 152 | 96.20% |
▷ Protected methods | 3 | 1.90% |
▷ Private methods | 3 | 1.90% |
Functions | 33 | |
▷ Named functions | 3 | 9.09% |
▷ Anonymous functions | 30 | 90.91% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin