Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲1.42MB] [CPU: ▲10.31ms] Passed 4 tests
Analyzing server-side resources used by SV Tracking Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.66 ▲1.20 | 43.89 ▲7.24 |
Dashboard /wp-admin | 4.79 ▲1.48 | 56.03 ▲11.04 |
Posts /wp-admin/edit.php | 4.90 ▲1.55 | 58.01 ▲11.03 |
Add New Post /wp-admin/post-new.php | 7.39 ▲1.50 | 99.72 ▲11.92 |
Media Library /wp-admin/upload.php | 4.71 ▲1.48 | 45.80 ▲13.65 |
Info /wp-admin/admin.php?page=straightvisions | 4.79 | 44.60 |
SV Tracking Manager /wp-admin/admin.php?page=sv_tracking_manager | 4.74 | 45.55 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 199 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
sv_tracking_manager_scripts_settings_sv_core_color_picker_attached |
sv_tracking_manager_scripts_settings_flush_css_cache |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for SV Tracking Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲170 | 13.63 ▲0.31 | 4.64 ▲2.96 | 38.56 ▼3.40 |
Dashboard /wp-admin | 2,341 ▲135 | 5.79 ▼0.06 | 98.82 ▲0.88 | 91.28 ▲50.14 |
Posts /wp-admin/edit.php | 2,224 ▲138 | 2.04 ▼0.01 | 34.31 ▲0.41 | 29.07 ▼6.33 |
Add New Post /wp-admin/post-new.php | 1,666 ▲152 | 18.67 ▲0.98 | 677.19 ▲22.87 | 41.56 ▼16.03 |
Media Library /wp-admin/upload.php | 1,520 ▲135 | 4.22 ▼0.02 | 100.00 ▼2.82 | 80.24 ▲35.40 |
Info /wp-admin/admin.php?page=straightvisions | 1,572 | 10.63 | 199.80 | 131.52 |
SV Tracking Manager /wp-admin/admin.php?page=sv_tracking_manager | 1,585 | 10.65 | 77.90 | 139.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- sv_tracking_manager_scripts_settings_sv_core_color_picker_attached
- theysaidso_admin_options
- db_upgraded
- sv_tracking_manager_scripts_settings_flush_css_cache
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_checkbox_field.php
- 256× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_checkbox_field.php on line 14
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_margin_field.php on line 20
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_time.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sv-tracking-manager/lib/modules/usercentrics/lib/backend/tpl/subpage_advanced.php:2
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_textarea.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'sv_core\\settings' not found in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/modules/setting_number/setting_number.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_url.php on line 5
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_id.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_upload.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sv-tracking-manager/lib/core_plugin/core/settings/tpl/setting_border_tpl/border_width.php:46
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
sv-tracking-manager/sv_tracking_manager.php 85% from 13 tests
The primary PHP file in "SV Tracking Manager" version 2.0.00 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("sv-tracking-manager.php" instead of "sv_tracking_manager.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Success! There were no dangerous files found in this plugin11,516 lines of code in 173 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 1,222 | 1,545 | 6,362 |
CSS | 29 | 288 | 89 | 2,841 |
PO File | 2 | 442 | 641 | 916 |
JavaScript | 26 | 202 | 91 | 810 |
SVG | 2 | 0 | 0 | 585 |
Markdown | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 16.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 1 | 1.96% |
▷ Concrete classes | 50 | 98.04% |
▷ Final classes | 0 | 0.00% |
Methods | 535 | |
▷ Static methods | 8 | 1.50% |
▷ Public methods | 461 | 86.17% |
▷ Protected methods | 51 | 9.53% |
▷ Private methods | 23 | 4.30% |
Functions | 24 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 24 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin