Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.95ms] Passed 4 tests
A check of server-side resources used by Ortto
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.62 ▼2.74 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.26 ▼6.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.31 ▼2.97 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 80.24 ▼11.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 42.56 ▲4.83 |
Server storage [IO: ▲3.70MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
ap3_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Ortto
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲77 | 14.36 ▲0.01 | 1.67 ▼0.07 | 43.78 ▼4.10 |
Dashboard /wp-admin | 2,245 ▲68 | 5.56 ▼0.11 | 87.66 ▼1.05 | 38.53 ▼6.09 |
Posts /wp-admin/edit.php | 2,152 ▲49 | 2.00 ▲0.02 | 35.35 ▼7.49 | 34.75 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.07 ▲0.03 | 657.29 ▼49.98 | 55.72 ▲3.68 |
Media Library /wp-admin/upload.php | 1,450 ▲47 | 4.24 ▲0.05 | 95.13 ▼11.17 | 43.92 ▼2.27 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/autopilot/admin/partials/autopilot-help-display.php
- > /wp-content/plugins/autopilot/public/partials/autopilot-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/autopilot/admin/partials/autopilot-admin-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
autopilot/autopilot.php Passed 13 tests
"Ortto" version 1.0.19's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
48 characters long description:
Customer data and marketing automation platform.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,041 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 211 | 679 | 968 |
JavaScript | 2 | 9 | 27 | 39 |
CSS | 2 | 25 | 10 | 29 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 17.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 35 | 67.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 32.69% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.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
12 PNG files occupy 3.62MB with 2.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 83.13KB | 24.18KB | ▼ 70.91% |
assets/screenshot-6.png | 156.06KB | 69.97KB | ▼ 55.16% |
assets/screenshot-2.png | 532.72KB | 155.07KB | ▼ 70.89% |
admin/assets/ap-logo.png | 1.16KB | 0.63KB | ▼ 45.58% |
assets/screenshot-3.png | 605.16KB | 166.70KB | ▼ 72.45% |