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.61MB] [CPU: ▼2.22ms] Passed 4 tests
This is a short check of server-side resources used by Starter Sites
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.65 | 44.26 ▲5.39 |
Dashboard /wp-admin | 3.93 ▲0.63 | 53.31 ▲5.09 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 48.48 ▼1.87 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 83.61 ▼17.48 |
Media Library /wp-admin/upload.php | 3.86 ▲0.62 | 41.30 ▲9.84 |
Starter Sites /wp-admin/themes.php?page=starter-sites | 3.95 | 38.22 |
Server storage [IO: ▲0.21MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Starter Sites
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.22 ▼0.14 | 1.69 ▲0.09 | 47.74 ▲6.82 |
Dashboard /wp-admin | 2,199 ▲19 | 5.59 ▼0.07 | 83.81 ▼0.30 | 36.73 ▼8.98 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.07 | 35.42 ▲0.66 | 32.88 ▼5.14 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.33 ▲0.38 | 685.03 ▲57.73 | 69.56 ▲10.37 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.18 ▼0.01 | 94.07 ▼5.48 | 44.21 ▲3.88 |
Starter Sites /wp-admin/themes.php?page=starter-sites | 1,811 | 1.82 | 31.60 | 60.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/starter-sites/starter-sites.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'HM_WP_Importer_Logger' not found in wp-content/plugins/starter-sites/inc/importer/class-logger-cli.php:3
- > PHP Warning
require(WPSS_PATHinc/importer/class-logger.php): failed to open stream: No such file or directory in wp-content/plugins/starter-sites/inc/class-wpss-logger.php on line 9
- > PHP Warning
Use of undefined constant WPSS_PATH - assumed 'WPSS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/starter-sites/inc/class-wpss-wxr-importer.php on line 11
- > PHP Warning
Use of undefined constant WPSS_PATH - assumed 'WPSS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/starter-sites/inc/class-wpss-logger.php on line 9
- > PHP Fatal error
require(): Failed opening required 'WPSS_PATHinc/class-wpss-helpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/starter-sites/inc/class-wpss-main.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/starter-sites/inc/class-wpss-customizer-option.php:12
- > PHP Warning
Use of undefined constant WPSS_PATH - assumed 'WPSS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/starter-sites/inc/class-wpss-main.php on line 9
- > PHP Warning
require(WPSS_PATHinc/importer/class-wxr-importer.php): failed to open stream: No such file or directory in wp-content/plugins/starter-sites/inc/class-wpss-wxr-importer.php on line 11
- > PHP Fatal error
require(): Failed opening required 'WPSS_PATHinc/importer/class-logger.php' (include_path='.:/usr/share/php') in wp-content/plugins/starter-sites/inc/class-wpss-logger.php on line 9
- > PHP Fatal error
require(): Failed opening required 'WPSS_PATHinc/importer/class-wxr-importer.php' (include_path='.:/usr/share/php') in wp-content/plugins/starter-sites/inc/class-wpss-wxr-importer.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: starter sites, blocks, content, website, gutenberg...
starter-sites/starter-sites.php 92% from 13 tests
The main file in "Starter Sites" v. 1.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 166 characters long)
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
There were no executable files found in this plugin3,721 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 869 | 1,235 | 3,032 |
CSS | 1 | 74 | 9 | 324 |
JSON | 1 | 0 | 0 | 295 |
JavaScript | 1 | 14 | 7 | 70 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 46.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 262.00 |
Average method complexity | 5.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 118 | |
▷ Static methods | 23 | 19.49% |
▷ Public methods | 63 | 53.39% |
▷ Protected methods | 34 | 28.81% |
▷ Private methods | 21 | 17.80% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/placeholder.png | 9.31KB | 6.23KB | ▼ 33.06% |