Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.03ms] Passed 4 tests
This is a short check of server-side resources used by ACh Updates and Notices Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 48.31 ▲7.56 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.06 ▼11.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.16 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.63 ▼10.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.86 ▲4.24 |
Updates Manager /wp-admin/options-general.php?page=ach-upn-manager | 3.21 | 33.46 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACh Updates and Notices Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 14.36 ▲0.10 | 1.68 ▼0.76 | 44.15 ▼0.00 |
Dashboard /wp-admin | 2,202 ▲25 | 5.60 ▼0.01 | 84.93 ▼2.89 | 42.38 ▼0.31 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.01 | 34.55 ▼8.47 | 41.62 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.98 ▼0.06 | 647.92 ▼14.78 | 50.54 ▼13.94 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.26 ▲0.07 | 96.16 ▼11.49 | 43.75 ▼0.17 |
Updates Manager /wp-admin/options-general.php?page=ach-upn-manager | 1,224 | 2.22 | 33.49 | 84.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'achupnm_plugin_run_on_deactivation' not found or invalid function name
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
5 plugin tags: update, disable updates, disable notices, notices, plugin updates
ach-updates-manager/ACh-Updates-Manager.php 77% from 13 tests
"ACh Updates and Notices Manager" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ach-updates-manager.php" instead of "ACh-Updates-Manager.php")
- Description: The description should be shorter than 140 characters (currently 275 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
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
Good job! No executable or dangerous file extensions detected1,884 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 108 | 20 | 764 |
PHP | 7 | 177 | 68 | 679 |
JavaScript | 1 | 4 | 8 | 272 |
PO File | 1 | 67 | 78 | 143 |
SVG | 1 | 0 | 1 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 15 | |
▷ Static methods | 4 | 26.67% |
▷ Public methods | 10 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 33.33% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin