Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.91ms] Passed 4 tests
This is a short check of server-side resources used by Analytics Control Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.97 ▼0.06 |
Dashboard /wp-admin | 3.41 ▲0.10 | 43.26 ▼5.78 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 42.61 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 79.31 ▼19.00 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 32.52 ▲1.21 |
Analytics Control+ /wp-admin/options-general.php?page=acp | 3.29 | 28.58 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
analytics_control_plus |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Analytics Control Plus: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▼0.10 | 1.81 ▲0.07 | 43.98 ▼0.18 |
Dashboard /wp-admin | 2,199 ▲19 | 5.55 ▼0.11 | 85.30 ▼12.36 | 37.29 ▼5.90 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.05 | 33.05 ▼8.68 | 32.89 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,528 ▼8 | 23.62 ▲5.56 | 644.84 ▲26.99 | 55.76 ▼7.69 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.19 ▲0.00 | 102.19 ▼2.91 | 46.03 ▲3.94 |
Analytics Control+ /wp-admin/options-general.php?page=acp | 1,018 | 1.99 | 22.61 | 36.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- analytics_control_plus
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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)
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/analytics-control-plus/analytics-control-plus.php
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
analytics-control-plus/analytics-control-plus.php 92% from 13 tests
Analyzing the main PHP file in "Analytics Control Plus" version 1.15
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 169 characters long)
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
Good job! No executable or dangerous file extensions detected445 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 103 | 21 | 445 |
PHP code Passed 2 tests
An short overview of 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.40 |
Average class complexity | 87.00 |
▷ Minimum class complexity | 87.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 23 | 79.31% |
▷ Protected methods | 1 | 3.45% |
▷ Private methods | 5 | 17.24% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin