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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼9.28ms] Passed 4 tests
A check of server-side resources used by Simple blueprint installer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.19 | 42.62 ▼2.38 |
Dashboard /wp-admin | 3.59 ▲0.20 | 52.69 ▼14.00 |
Posts /wp-admin/edit.php | 3.64 ▲0.24 | 49.91 ▼1.07 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.20 | 88.51 ▼19.68 |
Media Library /wp-admin/upload.php | 3.45 ▲0.18 | 40.30 ▲3.97 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
sbi_do_activation_redirect |
db_upgraded |
theysaidso_admin_options |
sbi_plugins_blueprint |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple blueprint installer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.72 ▲0.17 | 1.76 ▼0.32 | 42.79 ▲2.15 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▲0.08 | 85.87 ▼7.59 | 39.65 ▼8.05 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.03 | 35.96 ▼0.22 | 33.74 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 18.13 ▼5.16 | 634.72 ▼27.05 | 65.46 ▲15.15 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.13 ▼0.03 | 97.33 ▼4.94 | 48.03 ▲2.32 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-blueprint-installer/includes/views/simple-blueprint-installer-includes-display.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/simple-blueprint-installer/core/index.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-blueprint-installer/admin/views/simple-blueprint-installer-input-view.php:16
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/simple-blueprint-installer/includes/index.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-blueprint-installer/admin/views/simple-blueprint-installer-plugin-settings-view.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/simple-blueprint-installer/admin/views/simple-blueprint-installer-plugin-view.php:18
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/simple-blueprint-installer/admin/index.php on line 1
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/simple-blueprint-installer/index.php on line 1
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: delete default content, installation, installer, setup, blueprint
simple-blueprint-installer/simple-blueprint-installer.php Passed 13 tests
The entry point to "Simple blueprint installer" version 1.0.2 is a PHP file that has certain tags in its header comment area
91 characters long description:
Install this as your first plugin and make easy and fast the first setup of your WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,301 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 275 | 913 | 1,061 |
JavaScript | 2 | 29 | 26 | 206 |
CSS | 2 | 8 | 4 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 13 | 20.63% |
▷ Public methods | 39 | 61.90% |
▷ Protected methods | 1 | 1.59% |
▷ Private methods | 23 | 36.51% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin