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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼294.86ms] Passed 4 tests
A check of server-side resources used by Advanced Blog Metrics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.12 | 62.50 ▲3.88 |
Dashboard /wp-admin | 3.50 ▲0.09 | 35.04 ▼2.01 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 46.07 ▲0.05 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 95.83 ▼1,173.70 |
Media Library /wp-admin/upload.php | 3.41 ▲0.12 | 26.11 ▼3.79 |
Settings /wp-admin/admin.php?page=advanced-blog-metrics-options | 3.36 | 31.32 |
Dashboard /wp-admin/admin.php?page=advanced-blog-metrics | 3.36 | 29.64 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
abm_data |
Browser metrics Passed 4 tests
Advanced Blog Metrics: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,372 ▲626 | 15.95 ▲0.33 | 6.46 ▲0.73 | 2.31 ▲0.20 |
Dashboard /wp-admin | 3,495 ▲641 | 6.36 ▲0.17 | 124.00 ▼26.04 | 231.66 ▲58.83 |
Posts /wp-admin/edit.php | 2,734 ▲43 | 3.25 ▲0.01 | 61.96 ▼3.71 | 145.33 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,718 ▲57 | 18.47 ▲1.42 | 426.76 ▲13.46 | 154.96 ▲0.39 |
Media Library /wp-admin/upload.php | 1,737 ▲42 | 5.48 ▼0.04 | 144.54 ▲1.55 | 194.44 ▲9.88 |
Settings /wp-admin/admin.php?page=advanced-blog-metrics-options | 1,033 | 2.44 | 53.20 | 126.14 |
Dashboard /wp-admin/admin.php?page=advanced-blog-metrics | 1,285 | 2.39 | 53.32 | 157.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- abm_data
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics-options
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+123
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+248
Undefined property: stdClass::$ID
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+501
Undefined offset: 1
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+501
Undefined offset: 2
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+501
Undefined offset: 3
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+501
Undefined offset: 4
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+501
Undefined offset: 5
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+501
Undefined offset: 6
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Notice in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php+424
Undefined variable: posts
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/advanced-blog-metrics/advanced-blog-metrics.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Network (severe)
http://www.atalanta.fr/advanced-blog-metrics/facebook-like.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=advanced-blog-metrics
- > Network (severe)
http://www.atalanta.fr/advanced-blog-metrics/facebook-share.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== advanced-blog-metrics ===
)
advanced-blog-metrics/advanced-blog-metrics.php Passed 13 tests
"Advanced Blog Metrics" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
121 characters long description:
Advanced Blog Metrics is an analytics tool dedicated to bloggers. This plugin allows you to improve your blog performance
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin707 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 102 | 62 | 485 |
PO File | 2 | 69 | 165 | 176 |
CSS | 1 | 6 | 0 | 46 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected