Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.84MB] [CPU: ▲10.91ms] Passed 4 tests
Analyzing server-side resources used by BoomDevs WordPress Coming Soon Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.32 ▲1.86 | 62.65 ▲21.89 |
Dashboard /wp-admin | 5.13 ▲1.83 | 66.76 ▲10.80 |
Posts /wp-admin/edit.php | 5.25 ▲1.89 | 62.82 ▲9.33 |
Add New Post /wp-admin/post-new.php | 7.73 ▲1.84 | 102.82 ▲1.62 |
Media Library /wp-admin/upload.php | 5.06 ▲1.82 | 63.43 ▲28.84 |
Server storage [IO: ▲2.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 215 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
csts |
Browser metrics Passed 4 tests
An overview of browser requirements for BoomDevs WordPress Coming Soon Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 14.14 ▼0.46 | 9.03 ▲6.33 | 53.29 ▲12.10 |
Dashboard /wp-admin | 2,213 ▲22 | 5.03 ▼0.87 | 102.38 ▲3.10 | 38.85 ▲0.79 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.02 | 39.09 ▼1.98 | 32.99 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 18.06 ▲0.65 | 637.33 ▼42.25 | 54.94 ▼5.70 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.04 | 101.52 ▼1.16 | 43.54 ▼2.77 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- csts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/coming-soon-by-boomdevs/public/partials/csts-public-display.php
- > /wp-content/plugins/coming-soon-by-boomdevs/admin/partials/csts-admin-display.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'CSTS_DIRincludes/class-csts-settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/coming-soon-by-boomdevs/public/template/template.php on line 2
- > PHP Warning
require_once(CSTS_DIRincludes/class-csts-settings.php): failed to open stream: No such file or directory in wp-content/plugins/coming-soon-by-boomdevs/public/template/template.php on line 2
- > PHP Warning
Use of undefined constant CSTS_DIR - assumed 'CSTS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/coming-soon-by-boomdevs/public/template/template.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in coming-soon-by-boomdevs/assets to your readme.txt
coming-soon-by-boomdevs/csts-coming-soon.php 77% from 13 tests
"BoomDevs WordPress Coming Soon Plugin" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("coming-soon-by-boomdevs.php" instead of "csts-coming-soon.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin43,146 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 114 | 4,129 | 3,109 | 18,153 |
JavaScript | 11 | 1,295 | 556 | 6,587 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
CSS | 11 | 584 | 549 | 5,947 |
Sass | 16 | 970 | 3 | 5,672 |
Markdown | 1 | 70 | 0 | 196 |
JSON | 3 | 0 | 0 | 89 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 5.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 2 | 2.56% |
▷ Concrete classes | 76 | 97.44% |
▷ Final classes | 0 | 0.00% |
Methods | 414 | |
▷ Static methods | 65 | 15.70% |
▷ Public methods | 370 | 89.37% |
▷ Protected methods | 6 | 1.45% |
▷ Private methods | 38 | 9.18% |
Functions | 29 | |
▷ Named functions | 28 | 96.55% |
▷ Anonymous functions | 1 | 3.45% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
public/images/logos.png | 0.81KB | 0.51KB | ▼ 37.17% |
public/images/cancel.png | 6.07KB | 2.47KB | ▼ 59.33% |
public/images/logo.png | 1.65KB | 1.56KB | ▼ 5.45% |