Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼301.62ms] Passed 4 tests
A check of server-side resources used by AccessPress Custom CSS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 51.95 ▼0.17 |
Dashboard /wp-admin | 3.46 ▲0.05 | 34.26 ▲0.76 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.71 ▼0.21 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 94.08 ▼1,202.29 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 26.58 ▼3.82 |
AccessPress Custom CSS /wp-admin/options-general.php?page=accesspress-custom-css | 3.33 | 22.12 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 1 new option
New WordPress options |
---|
apccss-settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AccessPress Custom CSS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲56 | 15.98 ▲0.03 | 5.66 ▼0.62 | 2.68 ▲0.63 |
Dashboard /wp-admin | 2,893 ▲35 | 5.97 ▼0.11 | 120.47 ▼8.18 | 149.55 ▼11.72 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.25 ▲0.02 | 61.34 ▼3.05 | 138.53 ▲5.46 |
Add New Post /wp-admin/post-new.php | 1,693 ▼59 | 20.93 ▼0.14 | 446.37 ▲2.53 | 156.88 ▼1.86 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.53 ▼0.02 | 138.85 ▼0.33 | 178.94 ▼10.74 |
AccessPress Custom CSS /wp-admin/options-general.php?page=accesspress-custom-css | 1,563 | 8.90 | 177.12 | 172.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- apccss-settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/accesspress-custom-css/accesspress-custom-css.php
- > /wp-content/plugins/accesspress-custom-css/inc/backend/apccss-about.php
- > /wp-content/plugins/accesspress-custom-css/inc/backend/activation.php
- > /wp-content/plugins/accesspress-custom-css/inc/backend/main-page.php
- > /wp-content/plugins/accesspress-custom-css/inc/backend/save-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
10 plugin tags: custom style, style, css, own style, styles...
accesspress-custom-css/accesspress-custom-css.php Passed 13 tests
The main file in "AccessPress Custom CSS" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
37 characters long description:
A plugin to add custom css to a site.
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
Success! There were no dangerous files found in this plugin5,556 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 549 | 455 | 4,863 |
CSS | 3 | 83 | 30 | 448 |
PHP | 6 | 20 | 31 | 245 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/customize.png | 24.05KB | 8.41KB | ▼ 65.05% |
images/plugin.png | 12.50KB | 5.31KB | ▼ 57.50% |
images/theme.png | 52.01KB | 17.38KB | ▼ 66.59% |