Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.64MB] [CPU: ▼162.09ms] Passed 4 tests
This is a short check of server-side resources used by WP Verify API
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.62 ▲10.24 |
Dashboard /wp-admin | 3.07 ▲0.01 | 50.91 ▲5.42 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 43.76 ▼5.03 |
Add New Post /wp-admin/post-new.php | 2.85 ▼2.58 | 17.36 ▼647.96 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.17 ▼0.78 |
WP Verify API /wp-admin/options-general.php?page=wp_verify_api | 2.96 | 26.30 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: 1 new table, 3 new options
New tables |
---|
wp_wp_verify_api |
New WordPress options |
---|
wp_verify_api_email_text |
wp_verify_api_code_expire_time |
wp_verify_api_code_digits |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Verify API
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 16.01 ▲0.45 | 8.93 ▲0.42 | 48.84 ▲0.82 |
Dashboard /wp-admin | 2,978 ▲47 | 5.90 ▼0.01 | 131.96 ▼13.88 | 116.94 ▲3.78 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.82 ▲0.00 | 60.86 ▼3.95 | 83.49 ▼7.79 |
Add New Post /wp-admin/post-new.php | 1,675 ▼8 | 18.84 ▲0.29 | 380.34 ▼5.33 | 103.03 ▼5.43 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.03 ▲0.00 | 156.38 ▼0.42 | 114.40 ▼16.06 |
WP Verify API /wp-admin/options-general.php?page=wp_verify_api | 1,099 | 2.18 | 58.14 | 72.16 |
Uninstaller [IO: ▲0.00MB] [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
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wp_verify_api
- Zombie WordPress options were found after uninstall: 3 options
- wp_verify_api_code_expire_time
- wp_verify_api_code_digits
- wp_verify_api_email_text
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_verify_api
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp_verify_api
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 4× 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/wp-verify-api/admin/settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-verify-api/inc/generate-code.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-verify-api/api/api.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-verify-api/inc/send-email.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2 in wp-verify-api/assets to your readme.txt
wp-verify-api/wp-verify-api.php 92% from 13 tests
The main file in "WP Verify API" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/wp-verify-api")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin184 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 24 | 18 | 184 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected