Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.83ms] Passed 4 tests
An overview of server-side resources used by WP Custom Styling - Make Custom Design in Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.22 ▼4.36 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.64 ▲1.74 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.63 ▲5.02 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 102.79 ▼1.85 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.63 ▲1.15 |
Server storage [IO: ▲1.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Custom Styling - Make Custom Design in Wordpress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 6,935 ▲4,164 | 13.40 ▼0.84 | 1.80 ▼0.19 | 43.48 ▼3.60 |
Dashboard /wp-admin | 6,334 ▲4,146 | 5.01 ▼0.87 | 126.62 ▲14.73 | 46.98 ▲4.71 |
Posts /wp-admin/edit.php | 6,225 ▲4,136 | 2.32 ▲0.33 | 43.38 ▲7.06 | 34.75 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5,649 ▲4,135 | 21.20 ▲3.58 | 716.41 ▲100.08 | 37.31 ▼16.89 |
Media Library /wp-admin/upload.php | 5,519 ▲4,137 | 4.33 ▲0.12 | 100.29 ▲1.57 | 40.27 ▼2.12 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- 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
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-custom-styling/assets/app/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-custom-styling/function.php:3
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (2.) image not found
wp-custom-styling/wp-custom-styling.php Passed 13 tests
"WP Custom Styling - Make Custom Design in Wordpress" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
112 characters long description:
WP Custom Styling plugin will add custom designs to posts or pages. You can customize headings, Buttons, blocks.
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
Success! There were no dangerous files found in this plugin11,994 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 27 | 43 | 4,369 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
HTML | 1 | 7 | 0 | 1,183 |
JavaScript | 1 | 8 | 3 | 83 |
XML | 10 | 0 | 0 | 82 |
PHP | 4 | 16 | 20 | 80 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.25MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/symbol_logo.png | 4.07KB | 1.12KB | ▼ 72.59% |
(invalid) screenshot-1.png | 36.63KB | 0.00KB | ▼ 100.00% |
(invalid) screenshot-2.png | 44.13KB | 0.00KB | ▼ 100.00% |
assets/images/logo.png | 170.92KB | 5.38KB | ▼ 96.86% |
assets/images/symbol_logo.png | 4.07KB | 1.12KB | ▼ 72.59% |