Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Compile error in wp-content/plugins/baw-better-plugin-managment/baw-better-plugin-managment.php+30
Cannot use $this as parameter
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.69ms] Passed 4 tests
Server-side resources used by Better Plugin Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.50 ▼7.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.50 ▼5.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.97 ▼2.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.99 ▼0.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.17 ▼3.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Better Plugin Management
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.55 ▼0.84 | 3.99 ▲2.14 | 38.47 ▼3.26 |
Dashboard /wp-admin | 2,206 ▲15 | 5.85 ▲0.99 | 101.10 ▼0.04 | 41.85 ▲1.18 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▼0.00 | 38.36 ▲1.61 | 34.82 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.33 ▼4.68 | 658.28 ▲20.45 | 50.29 ▼2.39 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.15 ▼0.03 | 96.88 ▼0.25 | 39.78 ▼3.79 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Cannot use $this as parameter in wp-content/plugins/baw-better-plugin-managment/baw-better-plugin-managment.php on line 30
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4 in baw-better-plugin-managment/assets to your readme.txt
baw-better-plugin-managment/baw-better-plugin-managment.php Passed 13 tests
Analyzing the main PHP file in "Better Plugin Management" version 1.3
102 characters long description:
2 new tabs "Recently Updated" and "Recently Deleted" + automatically deactivate plugins to be deleted.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin348 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 48 | 324 |
PO File | 1 | 2 | 2 | 24 |
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.74 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 29.00 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 53.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin