Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼295.05ms] Passed 4 tests
Server-side resources used by PCA Predict
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 52.91 ▲1.25 |
Dashboard /wp-admin | 3.47 ▲0.06 | 38.12 ▲4.89 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 38.02 ▲2.18 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 93.42 ▼1,183.49 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 25.27 ▼0.12 |
PCA Predict /wp-admin/options-general.php?page=pcapredict_settings | 3.29 | 22.49 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
PCA Predict: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,771 ▲49 | 15.83 ▲0.05 | 5.86 ▼0.33 | 2.28 ▲0.03 |
Dashboard /wp-admin | 2,900 ▲40 | 6.08 ▼0.13 | 116.40 ▼14.78 | 153.52 ▼4.70 |
Posts /wp-admin/edit.php | 2,699 ▲5 | 3.24 ▲0.00 | 63.89 ▲1.58 | 142.16 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,766 ▲14 | 16.95 ▼3.96 | 420.86 ▼61.25 | 154.76 ▼12.45 |
Media Library /wp-admin/upload.php | 1,706 ▲5 | 5.47 ▼0.06 | 139.42 ▼0.49 | 187.09 ▼0.89 |
PCA Predict /wp-admin/options-general.php?page=pcapredict_settings | 1,128 | 2.36 | 54.42 | 114.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=pcapredict_settings
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=pcapredict_settings
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== address-email-and-phone-validation ===
) - Tags: There are too many tags (23 tag instead of maximum 10)
address-email-and-phone-validation/pca-predict.php 92% from 13 tests
This is the main PHP file of "PCA Predict" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("address-email-and-phone-validation.php" instead of "pca-predict.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected360 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 167 | 163 | 275 |
Markdown | 1 | 26 | 0 | 49 |
CSS | 1 | 1 | 0 | 36 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin