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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.25ms] Passed 4 tests
This is a short check of server-side resources used by WP Quick Setup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.43 ▼2.98 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.56 ▼1.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.31 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.09 ▼13.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.75 ▲0.26 |
Wp Quick Setup /wp-admin/options-general.php?page=wes-settings | 3.40 | 32.48 |
Server storage [IO: ▲2.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Quick Setup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.29 ▼1.09 | 1.68 ▲0.07 | 42.14 ▼4.18 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▲0.01 | 104.46 ▲0.16 | 37.49 ▼2.71 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.03 ▲0.02 | 39.59 ▲0.96 | 35.11 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.47 ▲0.99 | 623.51 ▼75.39 | 53.75 ▼8.44 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.28 ▲0.05 | 95.96 ▼10.59 | 42.40 ▼2.14 |
Wp Quick Setup /wp-admin/options-general.php?page=wes-settings | 4,099 | 2.61 | 44.36 | 112.71 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-quick-setup/wp-quick-setup.php
- > /wp-content/plugins/wp-quick-setup/views/settings.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-quick-setup/views/settings.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-quick-setup/ajax.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (The quick install options), #2 (Front page, post page, read settings and timezone), #3 (Date and time format & create blank pages and categories), #4 (Install and activate popular plugins), #5 (Install plugins and themes from URL)
wp-quick-setup/wp-quick-setup.php Passed 13 tests
The main PHP file in "WP Quick Setup" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
128 characters long description:
This plugin makes it as easy as possible to start up a new WordPress blog. Fix all the common issues with one click of a button.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin6,056 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,170 | 1,093 | 4,089 |
PHP | 4 | 70 | 31 | 1,177 |
SVG | 1 | 0 | 0 | 751 |
CSS | 2 | 9 | 24 | 39 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
6 PNG files occupy 0.31MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 95.96KB | 43.05KB | ▼ 55.13% |
screenshot-2.png | 55.10KB | 23.27KB | ▼ 57.77% |
screenshot-5.png | 31.45KB | 14.64KB | ▼ 53.47% |
screenshot-3.png | 66.28KB | 27.28KB | ▼ 58.84% |
screenshot-4.png | 69.47KB | 28.81KB | ▼ 58.53% |