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
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.75ms] Passed 4 tests
An overview of server-side resources used by Mythic Cerberus
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 42.72 ▼2.14 |
Dashboard /wp-admin | 3.40 ▲0.10 | 53.53 ▼3.00 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.39 ▼6.88 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 97.95 ▼14.97 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.29 ▲3.80 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_mythic_cerberus |
wp_mythic_cerberus_login_fails |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
mythiccerberusAdminOptions |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Mythic Cerberus: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.14 ▼0.39 | 1.79 ▲0.03 | 47.72 ▲3.42 |
Dashboard /wp-admin | 2,199 ▲25 | 5.57 ▲0.05 | 87.14 ▼7.68 | 38.05 ▼5.96 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.07 | 36.80 ▼3.41 | 33.78 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,529 ▲2 | 23.58 ▲0.55 | 718.82 ▲57.21 | 57.80 ▲1.08 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.03 | 99.37 ▼9.55 | 42.89 ▼4.49 |
Mythic Cerberus /wp-admin/mythic-cerberus.php | 26 | 0.42 | 0.08 | 16.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mythic-cerberus/mythic-cerberus.php:200
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/mythic-cerberus.php
- > Network (severe)
wp-admin/mythic-cerberus.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: login form, login, login control, login blocking, protect login...
mythic-cerberus/mythic-cerberus.php Passed 13 tests
"Mythic Cerberus" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
61 characters long description:
Guards your login form and sends with failed logins to Hades.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected426 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 37 | 426 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 18 | |
▷ Named functions | 18 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin