Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼6.66ms] Passed 4 tests
An overview of server-side resources used by Screen One Datalayer Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 42.19 ▼7.85 |
Dashboard /wp-admin | 3.66 ▲0.32 | 51.19 ▼9.19 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 46.81 ▼1.06 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 94.15 ▼8.53 |
Media Library /wp-admin/upload.php | 3.58 ▲0.36 | 36.16 ▼0.12 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Screen One Datalayer Tracking
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲21 | 14.76 ▲0.17 | 1.03 ▼1.11 | 48.23 ▲3.75 |
Dashboard /wp-admin | 2,206 ▲18 | 5.96 ▲1.13 | 108.23 ▼8.23 | 43.35 ▼0.72 |
Posts /wp-admin/edit.php | 2,071 ▼15 | 2.06 ▲0.05 | 33.87 ▼3.62 | 32.69 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.41 ▲0.17 | 583.56 ▼124.13 | 48.86 ▼6.91 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.01 | 94.37 ▼13.60 | 44.33 ▼2.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: woo, shop, store, cart, sell...
screen-one-datalayer-tracking/screen-one-datalayer-tracking.php Passed 13 tests
"Screen One Datalayer Tracking" version 2.1.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
13 characters long description:
Tracking data
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 plugin2,418 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 386 | 80 | 2,418 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 106.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 8.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.85% |
Functions | 3 | |
▷ Named functions | 3 | 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
There were not PNG files found in your plugin