Benchmarks
Plugin footprint 65% 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.01MB] [CPU: ▼5.33ms] Passed 4 tests
A check of server-side resources used by ACh Tag Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.33 ▼1.15 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.77 ▼13.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.66 ▲3.12 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.73 ▼10.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.09 ▲4.09 |
ACh Tag Manager /wp-admin/options-general.php?page=achtm | 3.21 | 31.78 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
ACh Tag Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.24 ▼0.48 | 1.53 ▼0.03 | 42.10 ▼0.37 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▼0.04 | 88.37 ▼7.61 | 38.73 ▼0.86 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.08 | 41.16 ▲4.34 | 36.87 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.84 ▼0.40 | 658.86 ▼13.08 | 65.67 ▲7.67 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.18 ▼0.01 | 107.57 ▲2.92 | 43.49 ▼2.46 |
ACh Tag Manager /wp-admin/options-general.php?page=achtm | 1,046 | 2.23 | 36.44 | 73.98 |
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 had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'achtm_plugin_deactivation' not found or invalid function name
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% 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:
- Screenshots: Add an image for screenshot #1 (Plugin Settings page.)
ach-tag-manager/AChTM.php 85% from 13 tests
Analyzing the main PHP file in "ACh Tag Manager" version 1.0.1
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ach-tag-manager.php" instead of "AChTM.php")
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
Success! There were no dangerous files found in this plugin1,128 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 97 | 14 | 545 |
PHP | 4 | 44 | 42 | 311 |
JavaScript | 1 | 4 | 8 | 272 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin