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.12MB] [CPU: ▼4.35ms] Passed 4 tests
Server-side resources used by Simple Login Notification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 43.10 ▲3.56 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.48 ▼10.04 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.40 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.30 ▼9.95 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.23 ▲1.37 |
Login Notification /wp-admin/options-general.php?page=simple-login-notification | 3.33 | 33.91 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Login Notification
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.28 ▼0.08 | 1.62 ▼0.02 | 45.12 ▲5.42 |
Dashboard /wp-admin | 2,202 ▲22 | 5.56 ▼0.02 | 86.40 ▼5.73 | 38.77 ▼1.18 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▼0.02 | 39.19 ▼4.97 | 35.71 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 18.50 ▲0.26 | 629.92 ▲8.37 | 60.68 ▼4.34 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▼0.02 | 96.53 ▼2.39 | 41.47 ▼1.77 |
Login Notification /wp-admin/options-general.php?page=simple-login-notification | 899 | 2.02 | 36.45 | 37.34 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
4 plugin tags: email notify on admin login, login notification, admin login notification, email notification
simple-login-notification/simple-login-notification.php Passed 13 tests
Analyzing the main PHP file in "Simple Login Notification" version 1.6
62 characters long description:
Sends an email when any admin-level user logs in to your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin468 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 397 | 43 | 423 |
CSS | 1 | 15 | 5 | 28 |
JavaScript | 1 | 3 | 1 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin