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.11MB] [CPU: ▼10.46ms] Passed 4 tests
An overview of server-side resources used by Authenticator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.99 ▼6.57 |
Dashboard /wp-admin | 3.44 ▲0.09 | 46.20 ▼18.61 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.82 ▼0.26 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 79.29 ▼16.39 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.91 ▲2.14 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
authenticator_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Authenticator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.26 ▼1.03 | 4.36 ▲2.43 | 41.11 ▼2.62 |
Dashboard /wp-admin | 2,213 ▲31 | 5.90 ▼0.00 | 116.52 ▼2.57 | 42.29 ▼6.35 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.03 ▼0.03 | 41.02 ▲6.40 | 34.17 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 18.34 ▼4.79 | 590.84 ▼55.03 | 53.77 ▼1.59 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.25 ▲0.04 | 95.19 ▼2.81 | 42.52 ▼1.03 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/authenticator/authenticator.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Authenticator_Settings' not found in wp-content/plugins/authenticator/inc/class-Authenticator_Settings_UI.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
5 plugin tags: login, accessible, members, access, authentification
authenticator/authenticator.php 92% from 13 tests
Analyzing the main PHP file in "Authenticator" version 1.3.1
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 250 characters long)
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
Everything looks great! No dangerous files found in this plugin799 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 212 | 415 | 763 |
JavaScript | 1 | 11 | 6 | 36 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 18.17 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 8 | 19.51% |
▷ Public methods | 36 | 87.80% |
▷ Protected methods | 5 | 12.20% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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