Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.70ms] Passed 4 tests
Server-side resources used by ID5 Pixel Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.55 ▲1.42 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.48 ▼5.67 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.51 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 95.35 ▼8.99 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.76 ▲3.36 |
ID5 Pixel Manager /wp-admin/options-general.php?page=id5-wp-pixel-manager | 3.26 | 28.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 20 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
ID5 Pixel Manager: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.25 ▼1.50 | 1.76 ▼0.02 | 44.71 ▼3.37 |
Dashboard /wp-admin | 2,214 ▲23 | 4.82 ▼0.08 | 110.32 ▼8.01 | 40.74 ▼10.30 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▼0.00 | 40.77 ▲1.99 | 35.39 ▲3.22 |
Add New Post /wp-admin/post-new.php | 1,521 ▼0 | 23.27 ▲0.12 | 644.56 ▼50.07 | 57.20 ▲4.80 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.16 ▼0.08 | 98.53 ▼10.40 | 43.53 ▼2.43 |
ID5 Pixel Manager /wp-admin/options-general.php?page=id5-wp-pixel-manager | 797 | 2.03 | 24.34 | 26.25 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=id5-wp-pixel-manager
- > Notice in wp-content/plugins/id5-pixel-manager/admin/partials/id5-wp-pixel-manager-admin-display.php+30
Trying to access array offset on value of type bool
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/id5-pixel-manager/admin/partials/id5-wp-pixel-manager-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: usersync, advertising, adtech, cookie sync, ad
id5-pixel-manager/id5-wp-pixel-manager.php 85% from 13 tests
The entry point to "ID5 Pixel Manager" version 1.0.8 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("id5-pixel-manager.php" instead of "id5-wp-pixel-manager.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected242 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 130 | 540 | 231 |
CSS | 1 | 2 | 4 | 7 |
JavaScript | 2 | 2 | 27 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected