100% crowdfunding-login-form

Code Review | Crowdfunding Login Form - Make WPCF Login Page

WordPress plugin Crowdfunding Login Form - Make WPCF Login Page scored 100% from 54 tests.

About plugin

  • Plugin page: crowdfunding-logi...
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.8.1
  • First release: Dec 24, 2019
  • Latest release: Aug 22, 2021
  • Number of updates: 5
  • Update frequency: every 121.6 days
  • Top authors: fahimmurshed (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 818 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼132.65ms] Passed 4 tests

A check of server-side resources used by Crowdfunding Login Form - Make WPCF Login Page
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1538.40 ▲7.54
Dashboard /wp-admin3.09 ▲0.0450.80 ▲3.20
Posts /wp-admin/edit.php3.14 ▲0.0252.72 ▲0.51
Add New Post /wp-admin/post-new.php5.45 ▲0.01103.97 ▼541.83
Media Library /wp-admin/upload.php3.03 ▲0.0347.87 ▲11.45
Crowdfunding Login Form /wp-admin/options-general.php?page=crowdfunding-login-form-settings3.0042.87

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Crowdfunding Login Form - Make WPCF Login Page
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,710 ▲6315.97 ▲0.4613.13 ▲3.2550.12 ▼5.15
Dashboard /wp-admin2,972 ▲355.90 ▼0.06151.34 ▼10.39113.25 ▼15.66
Posts /wp-admin/edit.php2,744 ▲52.72 ▲0.0075.70 ▲7.0092.99 ▼0.03
Add New Post /wp-admin/post-new.php1,686 ▲316.19 ▼2.55430.05 ▲21.72125.54 ▼0.30
Media Library /wp-admin/upload.php1,812 ▲55.02 ▲0.01174.09 ▲0.44143.67 ▲9.71
Crowdfunding Login Form /wp-admin/options-general.php?page=crowdfunding-login-form-settings1,0072.0668.4871.67

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: crowdfunding, dashboard, custom-login-form, login-redirect, donation...

crowdfunding-login-form/crowdfunding-login-form.php Passed 13 tests

This is the main PHP file of "Crowdfunding Login Form - Make WPCF Login Page" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
55 characters long description:
WP Crowdfunding Login Form and Redirect to CF Dashboard

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
Good job! No executable or dangerous file extensions detected156 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1914150
CSS1036

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity1.62
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.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
There are no PNG files in this plugin