Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.59ms] Passed 4 tests
Analyzing server-side resources used by PRyC WP: Add support for admin.css
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.31 ▼5.06 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.96 ▼4.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 57.54 ▼1.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 99.80 ▲1.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.07 ▲2.33 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/pryc-wp-add-support-for-admincss/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/admin.css
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for PRyC WP: Add support for admin.css
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▼0.00 | 1.75 ▼0.85 | 37.91 ▼5.96 |
Dashboard /wp-admin | 2,196 ▲19 | 5.64 ▲0.03 | 91.91 ▼12.45 | 40.33 ▼8.77 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 1.99 ▼0.01 | 41.40 ▲3.73 | 38.96 ▲3.00 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.05 ▼0.39 | 649.39 ▼24.48 | 58.98 ▲7.81 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.06 | 98.24 ▼15.44 | 43.41 ▼4.37 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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 SRP test was a success
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: css, admincss, wordpress, admin, style...
pryc-wp-add-support-for-admincss/pryc-wp-add-support-for-admincss.php Passed 13 tests
Analyzing the main PHP file in "PRyC WP: Add support for admin.css" version 1.1.4
55 characters long description:
Add support for admin.css @ THEME_DIR (normal or child)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected13 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 10 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin