WordPress plugin PCA Predict scored 93% from 54 tests.

About plugin

  • Plugin page: address-email-and...
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6.1
  • WordPress version: 5.9.2
  • First release: Jun 6, 2016
  • Latest release: Sep 25, 2018
  • Number of updates: 30
  • Update frequency: every 28.1 days
  • Top authors: pcapredict (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 2,569 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0352.91 ▲1.25
Dashboard /wp-admin3.47 ▲0.0638.12 ▲4.89
Posts /wp-admin/edit.php3.69 ▲0.0538.02 ▲2.18
Add New Post /wp-admin/post-new.php6.93 ▼0.0493.42 ▼1,183.49
Media Library /wp-admin/upload.php3.34 ▲0.0525.27 ▼0.12
PCA Predict /wp-admin/options-general.php?page=pcapredict_settings3.2922.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,771 ▲4915.83 ▲0.055.86 ▼0.332.28 ▲0.03
Dashboard /wp-admin2,900 ▲406.08 ▼0.13116.40 ▼14.78153.52 ▼4.70
Posts /wp-admin/edit.php2,699 ▲53.24 ▲0.0063.89 ▲1.58142.16 ▼2.06
Add New Post /wp-admin/post-new.php1,766 ▲1416.95 ▼3.96420.86 ▼61.25154.76 ▼12.45
Media Library /wp-admin/upload.php1,706 ▲55.47 ▼0.06139.42 ▼0.49187.09 ▼0.89
PCA Predict /wp-admin/options-general.php?page=pcapredict_settings1,1282.3654.42114.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)
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP5167163275
Markdown126049
CSS11036

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 code0.26
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions17
▷ Named functions17100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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