89% wheel-of-life

Code Review | Wheel of Life: Coaching and Assessment Tool for Life Coach

WordPress plugin Wheel of Life: Coaching and Assessment Tool for Life Coach scored89%from 54 tests.

About plugin

  • Plugin page: wheel-of-life
  • Plugin version: 1.1.6
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2
  • WordPress version: 6.3.1
  • First release: Sep 1, 2021
  • Latest release: May 31, 2023
  • Number of updates: 25
  • Update frequency: every 25.5 days
  • Top authors: kraftplugins (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

4,000+ active /36,194 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼2.43ms] Passed 4 tests

This is a short check of server-side resources used by Wheel of Life: Coaching and Assessment Tool for Life Coach
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1438.81 ▼2.91
Dashboard /wp-admin3.42 ▲0.1146.51 ▼4.40
Posts /wp-admin/edit.php3.48 ▲0.1250.47 ▲3.31
Add New Post /wp-admin/post-new.php6.15 ▲0.2785.95 ▼4.02
Media Library /wp-admin/upload.php3.34 ▲0.1138.23 ▲1.62
All Submissions /wp-admin/edit.php?post_type=wheel-submissions3.1323.11
Wheel of Life /wp-admin/admin.php?page=wheels_of_life_all_lists3.3536.80
Settings /wp-admin/admin.php?page=wheels_of_life_global_settings3.3536.46
Submissions /wp-admin/admin.php?page=wheels_of_life_submissions3.3537.91

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
wheeloflife_queue_flush_rewrite_rules
theysaidso_admin_options
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Wheel of Life: Coaching and Assessment Tool for Life Coach
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,049 ▲31416.09 ▲1.7916.97 ▲15.2542.97 ▼6.65
Dashboard /wp-admin2,274 ▲836.08 ▲1.21159.87 ▲55.3741.75 ▲0.12
Posts /wp-admin/edit.php2,174 ▲852.96 ▲0.9065.14 ▲27.7632.27 ▼1.75
Add New Post /wp-admin/post-new.php6,221 ▲4,70723.33 ▲5.85983.33 ▲300.2650.06 ▼4.75
Media Library /wp-admin/upload.php1,470 ▲855.52 ▲1.36133.34 ▲34.6541.70 ▼0.77
All Submissions /wp-admin/edit.php?post_type=wheel-submissions1,4709.10261.8282.64
Wheel of Life /wp-admin/admin.php?page=wheels_of_life_all_lists1,4759.00161.4043.46
Settings /wp-admin/admin.php?page=wheels_of_life_global_settings1,5359.13116.9342.37
Submissions /wp-admin/admin.php?page=wheels_of_life_submissions1,4708.97126.1742.85

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • wheeloflife_queue_flush_rewrite_rules
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 93% from 29 tests

readme.txt Passed 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
5 plugin tags: coaches, coaching, survey, lead, wheel

wheel-of-life/wheel-of-life.php 85% from 13 tests

The primary PHP file in "Wheel of Life: Coaching and Assessment Tool for Life Coach" version 1.1.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 209 characters long)
  • Requires at least: Required version does not match the one declared in readme.txt ("5.1" instead of "5.2")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,230 lines of code in 51 files:
LanguageFilesBlank linesComment linesLines of code
PHP303817951,956
CSS700229
XML10028
JavaScript120012
JSON1005

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity21.00
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
Methods110
▷ Static methods1917.27%
▷ Public methods9687.27%
▷ Protected methods00.00%
▷ Private methods1412.73%
Functions12
▷ Named functions866.67%
▷ Anonymous functions433.33%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin