Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by Dream Agility - Tracking Pixel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.09 ▲3.27 |
Dashboard /wp-admin | 3.36 ▲0.01 | 48.86 ▼12.66 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.09 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.41 ▼14.18 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 34.08 ▲1.48 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_dream_agility_tracking_pixel |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Dream Agility - Tracking Pixel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.51 ▲0.18 | 20.44 ▲18.93 | 43.91 ▲1.90 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.00 | 97.54 ▲11.16 | 43.59 ▼0.97 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.01 ▼0.01 | 34.96 ▲0.70 | 31.86 ▼4.92 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.09 ▼0.03 | 651.66 ▲28.94 | 56.88 ▲1.72 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.18 ▼0.20 | 94.29 ▼6.24 | 44.75 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_dream_agility_tracking_pixel
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dream-agility-tracking-pixel/includes/dreamagility-tracking-pixel-scripts.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/dream-agility-tracking-pixel/includes/dreamagility-tracking-pixel-class.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Dream Agility - Tracking Pixel Widget Settings) image required
dream-agility-tracking-pixel/dream-agility-tracking-pixel.php Passed 13 tests
The entry point to "Dream Agility - Tracking Pixel" version 1.0.7 is a PHP file that has certain tags in its header comment area
81 characters long description:
Implement and Customise the Dream Agility Tracking Pixel for your WordPress Site.
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
There were no executable files found in this plugin561 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 56 | 8 | 376 |
PHP | 3 | 38 | 47 | 185 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.83KB | 4.95KB | ▼ 64.18% |