Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.99ms] Passed 4 tests
Analyzing server-side resources used by Aitasi Coming Soon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 35.59 ▼12.35 |
Dashboard /wp-admin | 3.51 ▲0.21 | 51.07 ▲5.81 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.40 ▼1.52 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 95.29 ▲4.26 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.52 ▲5.64 |
Server storage [IO: ▲4.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 167 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
_cs_options |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Aitasi Coming Soon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,015 ▲269 | 15.45 ▲0.83 | 1.63 ▼0.39 | 41.35 ▼1.02 |
Dashboard /wp-admin | 2,421 ▲230 | 7.16 ▲2.25 | 146.18 ▲48.30 | 49.49 ▲6.83 |
Posts /wp-admin/edit.php | 2,330 ▲241 | 3.64 ▲1.62 | 60.33 ▲19.04 | 31.33 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,583 ▲64 | 23.66 ▲0.32 | 596.76 ▼85.39 | 34.05 ▼19.44 |
Media Library /wp-admin/upload.php | 1,460 ▲72 | 4.96 ▲0.72 | 85.14 ▼11.07 | 40.54 ▼3.22 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- _cs_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_url() in wp-content/plugins/aitasi-coming-soon/template/section-home.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function cs_get_option() in wp-content/plugins/aitasi-coming-soon/template/inc/stylization_css.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function cs_get_option() in wp-content/plugins/aitasi-coming-soon/template/comingsoon.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aitasi-coming-soon/includes/color-customize.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/aitasi-coming-soon/coming-soon.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aitasi-coming-soon/includes/functions.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
aitasi-coming-soon/aitasi.php 85% from 13 tests
The primary PHP file in "Aitasi Coming Soon" version 2.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 390 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("aitasi-coming-soon.php" instead of "aitasi.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected36,678 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 12,928 |
CSS | 16 | 378 | 214 | 8,364 |
PHP | 54 | 1,588 | 1,336 | 5,884 |
JavaScript | 17 | 1,247 | 901 | 5,443 |
Sass | 5 | 287 | 0 | 1,837 |
SVG | 3 | 0 | 0 | 1,524 |
PO File | 6 | 261 | 285 | 601 |
Markdown | 1 | 18 | 0 | 97 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 13.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 2 | 5.88% |
▷ Concrete classes | 32 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 4 | 2.92% |
▷ Public methods | 137 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 46 | |
▷ Named functions | 46 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/css/images/ui-icons_ffd27a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
admin/assets/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
admin/codestar-framework/assets/images/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |
assets/images/favicon.png | 1.76KB | 1.05KB | ▼ 40.06% |
admin/assets/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png | 0.41KB | 0.15KB | ▼ 62.44% |