Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.84ms] Passed 4 tests
An overview of server-side resources used by Magic Pipe
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.14 ▼6.93 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.48 ▼3.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.12 ▼5.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 102.89 ▲5.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.48 ▼3.64 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
magicpipe_options |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Magic Pipe
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲185 | 13.54 ▼0.91 | 6.36 ▲4.58 | 50.14 ▲4.05 |
Dashboard /wp-admin | 2,211 ▲23 | 5.83 ▼0.07 | 103.89 ▼4.83 | 78.50 ▲39.76 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 1.99 ▼0.06 | 36.60 ▼2.26 | 33.30 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,683 ▲169 | 22.41 ▲4.94 | 726.05 ▲52.59 | 53.77 ▲0.08 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.12 ▼0.06 | 108.28 ▼12.19 | 47.11 ▼3.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× 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/magic-pipe/magicpipe.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: youtube, video gallery, pagination
magic-pipe/magicpipe.php 92% from 13 tests
Analyzing the main PHP file in "Magic Pipe" version 1.0.1
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("magic-pipe.php" instead of "magicpipe.php")
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
No dangerous file extensions were detected4,782 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 681 | 142 | 3,604 |
JavaScript | 6 | 161 | 131 | 947 |
PHP | 2 | 70 | 10 | 231 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jpages/img/magicpipe.png | 0.70KB | 0.73KB | 0.00% |
jpages/img/preload.png | 0.83KB | 0.40KB | ▼ 51.24% |