Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/identity-plus/lib/initialize.php+21
Undefined index: HTTP_X_TLS_CLIENT_SERIAL
Server metrics [RAM: ▼1.65MB] [CPU: ▼53.90ms] Passed 4 tests
An overview of server-side resources used by Identityplus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.35 ▼1.11 | 6.71 ▼30.51 |
Dashboard /wp-admin | 2.37 ▼0.97 | 7.20 ▼51.95 |
Posts /wp-admin/edit.php | 2.37 ▼0.98 | 8.59 ▼41.72 |
Add New Post /wp-admin/post-new.php | 2.37 ▼3.51 | 9.48 ▼91.40 |
Media Library /wp-admin/upload.php | 2.37 ▼0.86 | 9.50 ▼22.81 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Identityplus
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,500 ▼1,246 | 13.41 ▼1.18 | 1.83 ▲0.18 | 35.49 ▼4.42 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.01 | 113.76 ▲15.41 | 44.62 ▲2.19 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.06 ▲0.00 | 41.60 ▼1.21 | 34.33 ▼4.61 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.11 ▲5.63 | 642.51 ▲39.43 | 35.53 ▼15.60 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.15 ▼0.03 | 98.15 ▼1.24 | 41.05 ▼4.85 |
Uninstaller [IO: ▲0.30MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/identity-plus/lib/initialize.php+21
Undefined index: HTTP_X_TLS_CLIENT_SERIAL
- Incomplete uninstall procedure, leaving 25 files (0.30MB) in the plugin directory
- (new file) lib/identity_plus/api/Communication.php
- (new file) lib/identity_plus/Identity_Plus_API.php
- (new file) lib/identity_plus/api/Intrusion_Severity.php
- (new file) index.php
- (new file) lib/comments.php
- (new file) lib/danger.html
- (new file) identity-plus.php
- (new file) lib/danger.php
- (new file) lib/identity_plus/api/Identity_Plus_Utils.php
- (new file) lib/identity_plus/api/API_Action.php
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > File "wp-content/plugins/identity-plus/lib/danger.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/identity_plus/api/Intrusion_Severity.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/settings_panel.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/runtime.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/identity_plus/Identity_Plus_API.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/identity_plus/api/Identity_Plus_Utils.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/identity_plus/api/API_Action.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/identity_plus/api/Outcome.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/identity_plus/api/Communication.php" was called directly.
- > File "wp-content/plugins/identity-plus/lib/protected.php" was called directly.
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
identity-plus/identity-plus.php 92% from 13 tests
The primary PHP file in "Identityplus" version 2.4.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 270 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,112 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 422 | 887 | 1,512 |
SVG | 4 | 0 | 4 | 261 |
CSS | 1 | 2 | 0 | 248 |
HTML | 1 | 0 | 0 | 91 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 2.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 7 | 16.28% |
▷ Public methods | 40 | 93.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.98% |
Functions | 52 | |
▷ Named functions | 52 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 1 | 5.00% |
▷ Class constants | 19 | 95.00% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected