Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.45ms] Passed 4 tests
Analyzing server-side resources used by Snoobi BV Analytics tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.97 ▼0.66 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.32 ▲1.09 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.27 ▼0.35 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.81 ▼17.88 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.03 ▲2.96 |
Snoobi Menu /wp-admin/options-general.php?page=snoobipluginoptions | 3.22 | 31.47 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Snoobi BV Analytics tracking
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.82 ▲0.26 | 1.72 ▼0.47 | 46.17 ▲1.99 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▲0.96 | 103.88 ▼2.84 | 43.70 ▲2.10 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.01 | 42.44 ▲2.51 | 37.66 ▲3.96 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.10 ▲4.80 | 664.33 ▲42.76 | 52.01 ▼1.29 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.23 ▲0.03 | 97.89 ▼3.46 | 42.61 ▼1.22 |
Snoobi Menu /wp-admin/options-general.php?page=snoobipluginoptions | 937 | 2.05 | 22.51 | 29.04 |
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 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/snoobi-bv-analytics-tracking/snoobi_bv_analytics_tracking.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: analytics, snoobi, tracking
snoobi-bv-analytics-tracking/snoobi_bv_analytics_tracking.php 92% from 13 tests
The main PHP script in "Snoobi BV Analytics tracking" version 2.13 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("snoobi-bv-analytics-tracking.php" instead of "snoobi_bv_analytics_tracking.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
There were no executable files found in this plugin180 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 20 | 180 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin