Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.92MB] [CPU: ▼36.37ms] Passed 4 tests
A check of server-side resources used by Convizit Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.38 ▼0.07 | 26.63 ▼10.91 |
Dashboard /wp-admin | 3.03 ▼0.28 | 26.36 ▼22.16 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 24.42 ▼26.85 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 21.95 ▼83.69 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 22.74 ▼12.76 |
Convizit Analytics /wp-admin/options-general.php?page=convizit-admin | 3.03 | 23.93 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Convizit Analytics: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.25 ▼1.14 | 1.83 ▲0.14 | 44.03 ▲4.44 |
Dashboard /wp-admin | 2,210 ▲22 | 4.89 ▼1.00 | 95.65 ▼12.31 | 38.76 ▼4.32 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.05 | 39.01 ▼3.57 | 35.27 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.32 ▲0.66 | 584.33 ▼19.63 | 50.85 ▼5.50 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.02 | 97.26 ▲0.16 | 47.03 ▲5.43 |
Convizit Analytics /wp-admin/options-general.php?page=convizit-admin | 783 | 2.06 | 22.35 | 28.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/convizit-analytics/convizit analytics.php+79
Undefined index: token_id
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=convizit-admin
- > Notice in wp-content/plugins/convizit-analytics/convizit analytics.php+79
Undefined index: token_id
- > GET request to /wp-admin/options-general.php?page=convizit-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=convizit-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/convizit-analytics/convizit_analytics_js.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/convizit-analytics/page.php:2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/convizit-analytics/convizit_analytics_js.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/convizit-analytics/convizit_analytics_js.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI ("-")
convizit-analytics/convizit analytics.php 92% from 13 tests
The entry point to "Convizit Analytics" version 1.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("convizit-analytics.php" instead of "convizit analytics.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected102 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 14 | 15 | 102 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin