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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.64ms] Passed 4 tests
Analyzing server-side resources used by Identitypass Verification
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.72 ▲1.14 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.27 ▼5.89 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 53.88 ▲12.11 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 78.67 ▼27.05 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.59 ▲5.23 |
Identitypass /wp-admin/admin.php?page=identitypass_checkout | 3.27 | 31.08 |
Configuration /wp-admin/edit.php?post_type=identity_kyc_config | 3.12 | 25.73 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Identitypass Verification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,995 ▲224 | 14.00 ▼0.58 | 9.29 ▲7.57 | 38.74 ▼1.43 |
Dashboard /wp-admin | 2,247 ▲59 | 4.86 ▼1.03 | 104.65 ▼13.68 | 69.95 ▲23.27 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.07 ▲0.01 | 38.48 ▲4.16 | 34.78 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 23.20 ▲5.55 | 781.35 ▲90.91 | 36.12 ▼17.53 |
Media Library /wp-admin/upload.php | 1,429 ▲38 | 4.26 ▲0.03 | 99.48 ▼0.45 | 69.66 ▲27.87 |
Identitypass /wp-admin/admin.php?page=identitypass_checkout | 808 | 2.09 | 26.28 | 27.50 |
Configuration /wp-admin/edit.php?post_type=identity_kyc_config | 28 | 0.44 | 0.08 | 3.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/identitypass-verification/identitypass_checkout.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/identitypass-verification/core/admin/identitypass-plugin-admin.php on line 236
- > PHP Warning
include_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/identitypass-verification/core/admin/identitypass-plugin-admin.php on line 236
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/class-wp-list-table.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/identitypass-verification/core/admin/identitypass-plugin-admin.php on line 236
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=identity_kyc_config
- > Network (severe)
wp-admin/edit.php?post_type=identity_kyc_config - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: kyb, identitypass, kyc, verification
identitypass-verification/identitypass_checkout.php 92% from 13 tests
The entry point to "Identitypass Verification" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("identitypass-verification.php" instead of "identitypass_checkout.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected642 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 107 | 122 | 333 |
CSS | 1 | 40 | 68 | 233 |
JavaScript | 1 | 14 | 36 | 53 |
Markdown | 1 | 23 | 0 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/sc_images/idpass-logo.png | 1.41KB | 1.06KB | ▼ 24.74% |