Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.33ms] Passed 4 tests
An overview of server-side resources used by WPGutenBlog Demo Import
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.90 ▼2.01 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.08 ▼1.63 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.95 ▲3.21 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 95.48 ▼0.29 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.93 ▲2.62 |
Demo Import /wp-admin/themes.php?page=advanced-import | 3.29 | 35.22 |
Server storage [IO: ▲15.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 132 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WPGutenBlog Demo Import
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.35 ▼0.24 | 1.95 ▲0.17 | 41.61 ▼3.68 |
Dashboard /wp-admin | 2,225 ▲51 | 5.69 ▲0.11 | 95.49 ▲9.99 | 45.85 ▲4.37 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.07 ▲0.08 | 42.25 ▲5.81 | 39.64 ▲2.81 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 18.28 ▼4.70 | 610.79 ▼71.32 | 67.11 ▲23.05 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.19 ▲0.04 | 105.43 ▲0.54 | 46.31 ▲0.63 |
Demo Import /wp-admin/themes.php?page=advanced-import | 821 | 2.01 | 23.94 | 28.31 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/layouts-importer/public/partials/gutenblog-demo-import-public-display.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/layouts-importer/admin/templates/traverse-blog.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/layouts-importer/admin/templates/guten-blog.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/layouts-importer/admin/templates/blogzilla.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/layouts-importer/admin/templates/maicha-blog.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
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: demo import, one click demo import
layouts-importer/gutenblog-demo-import.php 85% from 13 tests
The entry point to "WPGutenBlog Demo Import" version 1.0.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("layouts-importer.php" instead of "gutenblog-demo-import.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin10,364 lines of code in 102 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 83 | 0 | 0 | 9,416 |
PHP | 15 | 220 | 537 | 865 |
CSS | 2 | 7 | 4 | 57 |
JavaScript | 2 | 5 | 32 | 26 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 30 | |
▷ Static methods | 4 | 13.33% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 compressed PNG files occupy 4.20MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/demo-data/maicha-blog/free-1/screenshot.png | 470.17KB | 488.38KB | 0.00% |
includes/demo-data/maicha-blog/pro-4/screenshot.png | 470.17KB | 488.38KB | 0.00% |
includes/demo-data/blogzilla/free-1/Screenshot.png | 1,948.30KB | 650.68KB | ▼ 66.60% |
includes/demo-data/maicha-blog/pro-3/screenshot.png | 470.17KB | 488.38KB | 0.00% |
includes/demo-data/maicha-blog/pro-2/screenshot.png | 470.17KB | 488.38KB | 0.00% |