Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼1.46MB] [CPU: ▼53.85ms] Passed 4 tests
Analyzing server-side resources used by MyTracker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.53 ▼0.93 | 8.33 ▼32.42 |
Dashboard /wp-admin | 2.55 ▼0.75 | 9.75 ▼50.37 |
Posts /wp-admin/edit.php | 2.55 ▼0.81 | 9.36 ▼38.56 |
Add New Post /wp-admin/post-new.php | 2.55 ▼3.34 | 9.93 ▼94.06 |
Media Library /wp-admin/upload.php | 2.55 ▼0.68 | 8.80 ▼29.20 |
MyTracker /wp-admin/options-general.php?page=mytracker | 2.56 | 10.70 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MyTracker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲316 | 15.24 ▲0.88 | 28.55 ▲26.79 | 41.51 ▲0.46 |
Dashboard /wp-admin | 2,349 ▲169 | 6.30 ▲0.65 | 117.66 ▲23.13 | 40.32 ▼0.01 |
Posts /wp-admin/edit.php | 2,285 ▲182 | 3.51 ▲1.48 | 48.88 ▲11.86 | 29.92 ▼5.87 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.62 ▲0.64 | 663.38 ▼11.68 | 38.02 ▼16.20 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.31 ▲0.11 | 80.96 ▼32.54 | 47.67 ▼2.03 |
MyTracker /wp-admin/options-general.php?page=mytracker | 1,224 | 3.54 | 48.65 | 29.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=mytracker
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=mytracker
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Interface 'Auryn\\Reflector' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/lib/CachingReflector.php:5
- > PHP Fatal error
Uncaught Error: Class 'Auryn\\InjectorException' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/lib/ConfigException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Auryn\\Reflector' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/lib/StandardReflector.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Auryn\\ReflectionCache' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/lib/ReflectionCacheApc.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Auryn\\ReflectionCache' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/lib/ReflectionCacheArray.php:5
- > PHP Fatal error
Uncaught Error: Class 'Auryn\\InjectorException' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/lib/InjectionException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Auryn\\Injector' not found in wp-content/plugins/mytracker/vendor/rdlowrey/auryn/.phpstorm.meta.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: mailru, mytracker, analytics, vk
mytracker/mytracker.php Passed 13 tests
The main file in "MyTracker" v. 1.0.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
MyTracker is multi-platform analytics and attribution for mobile apps and websites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,041 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 656 | 1,389 | 2,967 |
JSON | 1 | 0 | 0 | 74 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 33 | 15.49% |
▷ Public methods | 181 | 84.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 32 | 15.02% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 51 | |
▷ Global constants | 9 | 17.65% |
▷ Class constants | 42 | 82.35% |
▷ Public constants | 39 | 92.86% |
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