Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼291.31ms] Passed 4 tests
Analyzing 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.58 ▲0.06 | 56.18 ▲5.95 |
Dashboard /wp-admin | 3.48 ▲0.07 | 35.31 ▲1.61 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 41.57 ▲5.71 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 93.32 ▼1,170.55 |
Media Library /wp-admin/upload.php | 3.35 ▲0.06 | 24.05 ▼1.99 |
Updates Manager /wp-admin/options-general.php?page=ach-upn-manager | 3.33 | 24.53 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by ACh Updates and Notices Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,810 ▲68 | 15.82 ▲0.25 | 6.48 ▼0.03 | 2.55 ▲0.56 |
Dashboard /wp-admin | 2,879 ▲18 | 6.07 ▼0.08 | 116.29 ▼22.06 | 157.92 ▼4.10 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.01 | 69.73 ▲3.77 | 141.49 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,671 ▲10 | 19.31 ▲2.32 | 393.12 ▼24.41 | 153.80 ▼0.65 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.51 ▼0.02 | 136.15 ▼18.93 | 183.39 ▼5.22 |
Updates Manager /wp-admin/options-general.php?page=ach-upn-manager | 1,609 | 2.95 | 62.23 | 254.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+307
call_user_func_array() expects parameter 1 to be a valid callback, function 'achupnm_plugin_run_on_deactivation' not found or invalid function name
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: disable updates, notices, update, plugin updates, disable notices
ach-updates-manager/ACh-Updates-Manager.php 77% from 13 tests
The main file in "ACh Updates and Notices Manager" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 275 characters long)
- 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")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,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
No cyclomatic complexity issues were detected for this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin