Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼2.40MB] [CPU: ▼340.83ms] Passed 4 tests
A check of server-side resources used by TOP Page Quality Analytics
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.97 ▼1.54 | 4.32 ▼47.09 |
Dashboard /wp-admin | 1.99 ▼1.42 | 4.09 ▼28.88 |
Posts /wp-admin/edit.php | 1.99 ▼1.65 | 3.78 ▼33.56 |
Add New Post /wp-admin/post-new.php | 1.99 ▼4.98 | 4.55 ▼1,253.80 |
Media Library /wp-admin/upload.php | 1.99 ▼1.30 | 4.11 ▼18.55 |
TOP Page Quality Analytics /wp-admin/tools.php?page=top-analytics | 1.99 | 4.53 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, no new options
New tables |
---|
wp_tracking_app |
Browser metrics Passed 4 tests
An overview of browser requirements for TOP Page Quality Analytics
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,896 ▲141 | 16.53 ▲0.85 | 9.07 ▲2.06 | 21.42 ▲18.52 |
Dashboard /wp-admin | 2,897 ▲39 | 6.15 ▼0.14 | 118.53 ▼16.84 | 154.53 ▼6.02 |
Posts /wp-admin/edit.php | 2,697 ▲3 | 3.22 ▼0.01 | 63.18 ▼0.86 | 140.77 ▼2.04 |
Add New Post /wp-admin/post-new.php | 1,767 ▲106 | 17.18 ▲1.02 | 407.87 ▲7.73 | 155.69 ▲3.89 |
Media Library /wp-admin/upload.php | 1,708 ▲13 | 5.53 ▼0.01 | 149.74 ▲15.83 | 186.36 ▼0.06 |
TOP Page Quality Analytics /wp-admin/tools.php?page=top-analytics | 1,117 | 2.54 | 54.67 | 147.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method top_analytics::analytics_init() should not be called statically
- Zombie tables detected upon uninstall: 1 table
- wp_tracking_app
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/tools.php?page=top-analytics
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method top_analytics::analytics_init() should not be called statically
- > GET request to /wp-admin/tools.php?page=top-analytics
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method top_analytics::styles() should not be called statically
- > GET request to /wp-admin/tools.php?page=top-analytics
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method top_analytics::javascript() should not be called statically
- > GET request to /wp-admin/tools.php?page=top-analytics
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method top_analytics::add_mgmt_page() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=top-analytics
- > User deprecated in wp-includes/functions.php+5600
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/tools.php?page=top-analytics
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method top_analytics::main_screen() should not be called statically
- > GET request to /wp-admin/tools.php?page=top-analytics
- > Notice in wp-content/plugins/top-page-quality-analytics/top-analytics.php+150
Undefined index: identifier_top
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% 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
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== top-page-quality-analytics ===
)
top-page-quality-analytics/top-analytics.php 77% from 13 tests
The principal PHP file in "TOP Page Quality Analytics" v. 2.8.6 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("top-page-quality-analytics.php" instead of "top-analytics.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin706 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 84 | 90 | 402 |
PHP | 1 | 132 | 32 | 236 |
CSS | 1 | 10 | 9 | 59 |
JavaScript | 1 | 2 | 1 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected