Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.70ms] Passed 4 tests
Analyzing server-side resources used by Bitid Authentication
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.27 ▲1.98 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.55 ▼14.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.39 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.37 ▼6.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.00 ▼0.87 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bitid Authentication
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.69 ▼0.07 | 1.68 ▲0.05 | 39.17 ▼5.60 |
Dashboard /wp-admin | 2,195 ▲15 | 5.58 ▼0.07 | 103.95 ▲7.41 | 49.71 ▲7.46 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▼0.00 | 39.25 ▲3.68 | 36.80 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,528 ▼2 | 23.01 ▼0.10 | 665.70 ▼11.41 | 64.87 ▲8.31 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.22 ▲0.04 | 96.60 ▼2.56 | 40.99 ▲0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bitid-authentication/bitid-authentication.php
- > /wp-content/plugins/bitid-authentication/bitid/BitID.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'PointInterface' not found in wp-content/plugins/bitid-authentication/bitid/Point.php:36
- > PHP Fatal error
Uncaught Error: Interface 'PublicKeyInterface' not found in wp-content/plugins/bitid-authentication/bitid/PublicKey.php:27
- > PHP Fatal error
Uncaught Error: Interface 'SignatureInterface' not found in wp-content/plugins/bitid-authentication/bitid/Signature.php:30
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/bitid-authentication/BitidAuthentication.php:847
- > PHP Fatal error
Uncaught Error: Interface 'CurveFpInterface' not found in wp-content/plugins/bitid-authentication/bitid/CurveFp.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: authentication
bitid-authentication/bitid-authentication.php 92% from 13 tests
The main PHP script in "Bitid Authentication" version 1.0.1-20180505... is automatically included on every request by WordPress
The following require your attention:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1.0.1-20180505...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,171 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 546 | 553 | 2,171 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 27.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 45 | 37.82% |
▷ Public methods | 114 | 95.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 4.20% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin