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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.23ms] Passed 4 tests
A check of server-side resources used by Simple CSS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.12 ▲1.59 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.41 ▼1.71 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.73 ▼3.21 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.81 ▼12.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 37.96 ▲0.56 |
Simple CSS /wp-admin/themes.php?page=simple-css | 3.25 | 32.52 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple CSS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.01 | 1.91 ▲0.06 | 44.19 ▼13.57 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▲0.01 | 89.84 ▼8.40 | 41.17 ▼0.26 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.03 | 35.72 ▼2.88 | 36.74 ▼0.51 |
Add New Post /wp-admin/post-new.php | 6,243 ▲4,689 | 26.19 ▲3.03 | 870.50 ▲183.50 | 52.26 ▼3.97 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.22 ▲0.04 | 100.56 ▼10.53 | 45.15 ▼4.18 |
Simple CSS /wp-admin/themes.php?page=simple-css | 1,020 | 2.46 | 39.70 | 36.24 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/simple-css/customize/css-control.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: css metabox, css customizer, css specific page, simple css, custom css...
simple-css/simple-css.php Passed 13 tests
This is the main PHP file of "Simple CSS" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
89 characters long description:
Simply add CSS to your WordPress site using an awesome CSS editor or the live Customizer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin8,442 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 894 | 951 | 7,884 |
CSS | 3 | 62 | 28 | 354 |
PHP | 2 | 38 | 80 | 204 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin