Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.10ms] Passed 4 tests
A check of server-side resources used by Covr Multi Factor Authentication
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.67 ▲1.00 |
Dashboard /wp-admin | 3.48 ▲0.18 | 51.03 ▲1.41 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 48.98 ▲3.16 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 83.93 ▼24.20 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.12 ▲1.39 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 16 new options
New WordPress options |
---|
theysaidso_admin_options |
covr_system_info |
covr_seed |
covr_login_button |
covr_right_seed |
can_compress_scripts |
covr_force_login |
db_upgraded |
covr_success |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Covr Multi Factor Authentication
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.59 ▼0.78 | 1.70 ▼0.10 | 42.67 ▲0.50 |
Dashboard /wp-admin | 2,216 ▲28 | 5.84 ▲0.94 | 116.01 ▲12.13 | 80.57 ▲38.69 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.00 ▼0.00 | 34.45 ▼2.07 | 32.74 ▲0.98 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.27 ▲4.73 | 731.12 ▲126.14 | 63.96 ▲14.51 |
Media Library /wp-admin/upload.php | 1,413 ▲31 | 4.09 ▼0.11 | 95.45 ▼4.57 | 70.24 ▲26.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- covr_saved_seed
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/covr-multi-factor-authentication/includes/covr.admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in covr-multi-factor-authentication/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
covr-multi-factor-authentication/covrmain.php 92% from 13 tests
"Covr Multi Factor Authentication" version 1.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:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("covr-multi-factor-authentication.php" instead of "covrmain.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,311 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 153 | 45 | 891 |
JavaScript | 1 | 32 | 8 | 342 |
CSS | 2 | 11 | 0 | 59 |
XML | 2 | 0 | 0 | 16 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 24 | 100.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
5 PNG files occupy 0.21MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 48.16KB | 21.78KB | ▼ 54.77% |
assets/screenshot-3.png | 75.87KB | 33.34KB | ▼ 56.05% |
assets/screenshot-4.png | 29.67KB | 13.60KB | ▼ 54.15% |
assets/icons/covr-wp-16x16.png | 0.45KB | 0.44KB | ▼ 2.80% |
assets/screenshot-2.png | 61.02KB | 27.48KB | ▼ 54.97% |