Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.15ms] Passed 4 tests
Analyzing server-side resources used by Tail DMP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.68 ▼2.82 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.59 ▼2.54 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 46.65 ▼1.67 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.38 ▼13.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 39.94 ▲6.94 |
Server storage [IO: ▲1.33MB] [DB: ▲0.32MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Tail DMP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 13.44 ▼0.94 | 1.98 ▲0.42 | 39.46 ▲2.32 |
Dashboard /wp-admin | 2,238 ▲52 | 5.13 ▲0.18 | 115.10 ▲12.05 | 68.30 ▲21.61 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.34 ▲0.37 | 39.43 ▲4.22 | 35.72 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,704 ▲162 | 24.76 ▲6.43 | 597.57 ▼6.34 | 158.31 ▲102.94 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.55 ▲0.40 | 103.02 ▲4.80 | 82.32 ▲41.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.32MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Library\\TailTarget\\add_action() in wp-content/plugins/tailtarget/includes/Scripts.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Library\\TailTarget\\add_action() in wp-content/plugins/tailtarget/includes/Translate.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Library\\TailTarget\\add_action() in wp-content/plugins/tailtarget/includes/Layout.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Library\\TailTarget\\add_action() in wp-content/plugins/tailtarget/includes/Connect.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Library\\TailTarget\\add_action() in wp-content/plugins/tailtarget/includes/Translate.php:8
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
tailtarget/tailtarget.php 92% from 13 tests
"Tail DMP" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 328 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin608 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 105 | 20 | 371 |
JavaScript | 2 | 33 | 252 | 95 |
CSS | 1 | 16 | 0 | 79 |
PO File | 1 | 16 | 18 | 63 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.72MB with 0.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_inc/images/icon-menu.png | 1.63KB | 0.46KB | ▼ 71.87% |
_inc/images/screenshots/screenshot-3.png | 154.33KB | 59.20KB | ▼ 61.64% |
_inc/images/icon-tailtarget-pb.png | 1.88KB | 0.49KB | ▼ 74.21% |
_inc/images/screenshots/screenshot-2.png | 156.43KB | 57.14KB | ▼ 63.47% |
public/image/icon-menu.png | 1.63KB | 0.46KB | ▼ 71.87% |