Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼5.45ms] Passed 4 tests
A check of server-side resources used by Pressable Automated Migration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 39.16 ▲3.62 |
Dashboard /wp-admin | 3.53 ▲0.18 | 49.17 ▼11.51 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 51.31 ▲4.53 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 86.83 ▼18.44 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 41.64 ▲7.17 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Pressable Automated Migration: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.23 ▼0.12 | 2.04 ▲0.32 | 39.81 ▲0.95 |
Dashboard /wp-admin | 2,207 ▲27 | 5.51 ▼0.09 | 87.38 ▼2.67 | 67.60 ▲21.22 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.00 ▲0.01 | 36.43 ▼1.31 | 32.19 ▼4.91 |
Add New Post /wp-admin/post-new.php | 1,692 ▲161 | 22.25 ▼0.90 | 703.13 ▲57.51 | 53.07 ▼1.41 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.22 ▼0.05 | 100.35 ▼4.62 | 73.25 ▲32.26 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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
Good news, no errors were detected
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/pressable-automated-migration/admin/main_page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2 in pressable-automated-migration/assets to your readme.txt
pressable-automated-migration/pressable.php 92% from 13 tests
The entry point to "Pressable Automated Migration" version 5.25 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("pressable-automated-migration.php" instead of "pressable.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin3,776 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 455 | 48 | 3,361 |
CSS | 3 | 143 | 235 | 415 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 32 | 13.45% |
▷ Public methods | 237 | 99.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.42% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/pressable-logo.png | 36.42KB | 18.53KB | ▼ 49.12% |
assets/img/blogvault-logo-120.png | 4.06KB | 3.29KB | ▼ 19.01% |
assets/img/blogvault-logo.png | 21.51KB | 8.83KB | ▼ 58.92% |