Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.13MB] [CPU: ▼5.07ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Conversion Tracking Code
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.31 ▼3.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.00 ▼5.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.65 ▲2.09 |
Add New Post /wp-admin/post-new.php | 5.31 ▼0.58 | 76.12 ▼10.60 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.76 ▼1.42 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Conversion Tracking Code
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 13.62 ▼0.77 | 2.25 ▲0.41 | 39.96 ▼4.21 |
Dashboard /wp-admin | 2,239 ▲51 | 5.25 ▲0.35 | 112.28 ▲3.87 | 43.56 ▲5.32 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.47 ▲0.44 | 38.56 ▼3.08 | 37.09 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 17.81 ▲0.36 | 674.40 ▼23.40 | 41.23 ▼4.43 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.51 ▲0.32 | 100.34 ▼7.26 | 40.84 ▼6.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-conversion-tracking-code/ultimate-conversion-tracking-code.php:32
- > PHP Fatal error
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 uses markdown syntax to describe your plugin to the world
9 plugin tags: tracking, conversion, marketing, custom scripts, adwords scripts...
ultimate-conversion-tracking-code/ultimate-conversion-tracking-code.php Passed 13 tests
Analyzing the main PHP file in "Ultimate Conversion Tracking Code" version 1.0.0
52 characters long description:
Add any marketing script to Woocomerce and Wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected482 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 70 | 25 | 397 |
JavaScript | 2 | 26 | 14 | 84 |
CSS | 1 | 4 | 4 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin