Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.87ms] Passed 4 tests
Analyzing server-side resources used by Advanced Blog Metrics
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.37 ▼6.49 |
Dashboard /wp-admin | 3.40 ▲0.10 | 44.94 ▼6.07 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 43.16 ▼8.99 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 84.38 ▼9.94 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.58 ▲2.66 |
Dashboard /wp-admin/admin.php?page=advanced-blog-metrics | 3.29 | 33.82 |
Settings /wp-admin/admin.php?page=advanced-blog-metrics-options | 3.29 | 35.33 |
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: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
abm_data |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Blog Metrics
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,250 ▲464 | 13.58 ▼0.79 | 4.58 ▲2.20 | 25.83 ▼18.77 |
Dashboard /wp-admin | 2,666 ▲495 | 5.84 ▲0.25 | 98.20 ▲7.64 | 93.35 ▲50.12 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.02 ▲0.02 | 38.31 ▼2.02 | 33.70 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,563 ▲32 | 23.18 ▲0.53 | 681.31 ▲22.84 | 52.58 ▼8.20 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.20 ▼0.04 | 96.32 ▼8.20 | 45.21 ▲3.40 |
Dashboard /wp-admin/admin.php?page=advanced-blog-metrics | 1,045 | 2.06 | 23.87 | 35.34 |
Settings /wp-admin/admin.php?page=advanced-blog-metrics-options | 819 | 2.03 | 25.60 | 26.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- abm_data
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > 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: 6
- 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+504
Undefined offset: 0
- > 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
- > 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
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > 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 shallow check for browser errors
Please fix the following browser errors
- > 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
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
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== advanced-blog-metrics ===
)
advanced-blog-metrics/advanced-blog-metrics.php Passed 13 tests
Analyzing the main PHP file in "Advanced Blog Metrics" version 1.5
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 an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected707 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
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin