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 gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.62ms] Passed 4 tests
This is a short check of server-side resources used by kontur Admin Style
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.67 ▼3.83 |
Dashboard /wp-admin | 3.45 ▲0.15 | 50.87 ▼1.88 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 50.04 ▲3.19 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 86.51 ▼11.28 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 40.10 ▲2.52 |
kontur Admin Style /wp-admin/themes.php?page=kontur-admin-style | 3.52 | 38.83 |
Server storage [IO: ▲1.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 21 new options
New WordPress options |
---|
kontur_admin_style_adminbar_background |
kontur_admin_adminmenuback |
kontur_style_admin_use_logo |
kontur-settings-checkbox-media |
kontur_admin_style_logo_background_image |
kontur-settings-checkbox-dashboard |
kontur-settings-checkbox-login |
kontur_style_admin_logo |
can_compress_scripts |
kontur_admin_current_sub_menu |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for kontur Admin Style
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲193 | 13.64 ▼0.67 | 4.33 ▲2.25 | 38.33 ▼6.16 |
Dashboard /wp-admin | 2,212 ▲24 | 5.85 ▼0.06 | 106.76 ▼8.24 | 44.32 ▼5.41 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.03 | 35.89 ▼3.15 | 34.15 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.30 ▲0.18 | 677.55 ▲34.33 | 59.25 ▼1.29 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.20 ▼0.08 | 107.31 ▲6.27 | 46.17 ▲2.48 |
kontur Admin Style /wp-admin/themes.php?page=kontur-admin-style | 1,904 | 4.85 | 94.81 | 77.91 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kontur-admin-style/includes/kontur-admin-style-backend.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/kontur-admin-style/admin/add-ons/kontur-admin-style-login.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
7 plugin tags: admin, adminbar icon, custom admin, branding, admin theme...
kontur-admin-style/kontur-admin-style.php 92% from 13 tests
"kontur Admin Style" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 256 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,634 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 418 | 11 | 1,611 |
PHP | 10 | 437 | 208 | 877 |
JavaScript | 2 | 34 | 20 | 132 |
SVG | 2 | 0 | 2 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 26 | |
▷ Named functions | 26 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/kontur_admin_style_login_logo.png | 23.62KB | 6.90KB | ▼ 70.79% |
admin/images/werbekontur_de.png | 8.61KB | 2.61KB | ▼ 69.67% |