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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.21ms] Passed 4 tests
An overview of server-side resources used by KolorWeb Access Admin Notification: extreme rescue for unauthorized admin logins
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 34.45 ▼6.20 |
Dashboard /wp-admin | 3.38 ▲0.07 | 43.05 ▼5.24 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.82 ▲2.11 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.20 ▼4.75 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.58 ▼0.65 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for KolorWeb Access Admin Notification: extreme rescue for unauthorized admin logins
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.28 ▼1.01 | 1.66 ▼0.20 | 38.81 ▼4.56 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.92 | 106.90 ▲2.09 | 38.96 ▼5.74 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▲0.03 | 39.41 ▼2.64 | 34.06 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.18 ▲4.53 | 634.16 ▼9.80 | 54.65 ▼8.73 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.03 | 97.32 ▼3.84 | 43.37 ▲0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: track admin login, unauthorized admin logins, admin login notification, notify, notifications...
kolorweb-access-admin-notification/kw-access-admin-notification.php 92% from 13 tests
The main file in "KolorWeb Access Admin Notification: extreme rescue for unauthorized admin logins" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kolorweb-access-admin-notification.php" instead of "kw-access-admin-notification.php")
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 plugin227 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 84 | 148 | 227 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected