Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼2.33ms] Passed 4 tests
This is a short check of server-side resources used by Super Simple Tracking Codes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 48.44 ▲6.67 |
Dashboard /wp-admin | 3.57 ▲0.22 | 49.69 ▼17.77 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 49.54 ▲4.15 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 98.41 ▲1.39 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 41.67 ▲2.90 |
Tracking codes /wp-admin/options-general.php?page=super_simple_tracking_codes | 3.47 | 38.51 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Super Simple Tracking Codes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.76 ▲0.20 | 1.95 ▼0.11 | 42.03 ▼3.29 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.06 | 89.22 ▼11.01 | 41.82 ▼1.23 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.00 | 39.87 ▲0.31 | 34.94 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.43 ▲0.38 | 664.08 ▲5.63 | 53.63 ▼7.27 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.20 ▼0.01 | 102.50 ▲0.37 | 44.43 ▼4.21 |
Tracking codes /wp-admin/options-general.php?page=super_simple_tracking_codes | 1,691 | 2.72 | 64.66 | 33.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/super-simple-tracking-codes/admin/partials/super-simple-tracking-codes-admin-display.php:14
- > 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 uses markdown syntax to describe your plugin to the world
4 plugin tags: google tag manager, facebook pixel, gdpr, google analytics
super-simple-tracking-codes/super-simple-tracking-codes.php Passed 13 tests
Analyzing the main PHP file in "Super Simple Tracking Codes" version 1.0.0
86 characters long description:
Just because it's super simple to add tracking codes to your website with this plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,070 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 226 | 480 | 991 |
JavaScript | 3 | 16 | 8 | 73 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 29.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 82.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 17.07% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin