89% physio-cloud-software

Code Review | Physio Cloud Software

WordPress plugin Physio Cloud Software scored89%from 54 tests.

About plugin

  • Plugin page: physio-cloud-soft...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Feb 10, 2023
  • Latest release: Feb 10, 2023
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: physiocloudsoftware (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /100 total downloads

Benchmarks

Plugin footprint 83% from 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.09MB] [CPU: ▼5.63ms] Passed 4 tests

This is a short check of server-side resources used by Physio Cloud Software
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1038.94 ▲3.12
Dashboard /wp-admin3.40 ▲0.0549.85 ▼10.51
Posts /wp-admin/edit.php3.51 ▲0.1545.70 ▼5.97
Add New Post /wp-admin/post-new.php6.00 ▲0.1184.36 ▼6.48
Media Library /wp-admin/upload.php3.32 ▲0.0936.02 ▲0.44

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Physio Cloud Software
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7314.46 ▲0.031.96 ▲0.2844.29 ▼0.86
Dashboard /wp-admin2,225 ▲405.86 ▲0.9598.85 ▼8.4239.27 ▼4.54
Posts /wp-admin/edit.php2,105 ▲132.00 ▲0.0436.27 ▼0.4134.27 ▲0.96
Add New Post /wp-admin/post-new.php1,540 ▲1718.31 ▼5.12630.73 ▼50.3656.67 ▲2.88
Media Library /wp-admin/upload.php1,407 ▲224.19 ▼0.05102.08 ▼4.8143.77 ▼3.12

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes: The official readme.txt is a good inspiration

physio-cloud-software/physio-cloud-software.php 92% from 13 tests

The main file in "Physio Cloud Software" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin919 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP10100242575
HTML1606344
CSS1030
JavaScript1130

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity7.38
▷ Minimum class complexity1.00
▷ Maximum class complexity26.00
Average method complexity3.04
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes112.50%
Methods25
▷ Static methods28.00%
▷ Public methods2288.00%
▷ Protected methods00.00%
▷ Private methods312.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
PNG images were not found in this plugin