90% wpcm-cricket

Code Review | WP Club Manager for Cricket

WordPress plugin WP Club Manager for Cricket scored90%from 54 tests.

About plugin

  • Plugin page: wpcm-cricket
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.1
  • WordPress version: 6.3.1
  • First release: Apr 30, 2017
  • Latest release: Feb 10, 2023
  • Number of updates: 20
  • Update frequency: every 105.7 days
  • Top authors: ClubPress (95%)wpclubmanager (10%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,764 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

This is a short check of server-side resources used by WP Club Manager for Cricket
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0442.67 ▲3.48
Dashboard /wp-admin3.34 ▼0.0046.80 ▼15.45
Posts /wp-admin/edit.php3.39 ▲0.0444.07 ▼7.13
Add New Post /wp-admin/post-new.php5.92 ▲0.0491.51 ▼8.86
Media Library /wp-admin/upload.php3.27 ▲0.0435.14 ▲2.98

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for WP Club Manager for Cricket
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6813.95 ▼0.342.00 ▲0.4242.45 ▲3.77
Dashboard /wp-admin2,192 ▲155.62 ▼0.0484.70 ▼3.4337.27 ▲0.64
Posts /wp-admin/edit.php2,103 ▲31.98 ▲0.0137.25 ▼1.7832.68 ▼3.66
Add New Post /wp-admin/post-new.php1,526 ▼023.67 ▲0.57652.24 ▲38.5965.74 ▲11.42
Media Library /wp-admin/upload.php1,400 ▲34.24 ▲0.0296.75 ▼5.2743.34 ▼2.09

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

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 no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

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 96% from 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
3 plugin tags: cricket team, club management, cricket club

wpcm-cricket/wpcm-cricket.php 92% from 13 tests

The main PHP file in "WP Club Manager for Cricket" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Requires at least: Required version must match the one declared in readme.txt ("4.2" instead of "4.6")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin723 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP922361723

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.49
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%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin