79% userguiding

Code Review | UserGuiding

WordPress plugin UserGuiding scored79%from 54 tests.

About plugin

  • Plugin page: userguiding
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.2
  • WordPress version: 6.3.1
  • First release: Jul 9, 2019
  • Latest release: Jul 9, 2019
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: userguiding (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /887 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.71ms] Passed 4 tests

Server-side resources used by UserGuiding
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.59 ▼4.21
Dashboard /wp-admin3.32 ▲0.0145.50 ▼1.29
Posts /wp-admin/edit.php3.37 ▲0.0145.43 ▲0.04
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.05 ▼9.36
Media Library /wp-admin/upload.php3.24 ▲0.0133.86 ▲0.08
UserGuiding /wp-admin/options-general.php?page=userguiding3.2331.01

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

UserGuiding: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.57 ▼0.731.84 ▲0.0440.88 ▲0.63
Dashboard /wp-admin2,210 ▲184.89 ▼0.01102.85 ▼7.1938.50 ▼2.58
Posts /wp-admin/edit.php2,090 ▲12.00 ▼0.0239.50 ▲2.4536.66 ▲2.20
Add New Post /wp-admin/post-new.php1,539 ▲2523.39 ▲5.77601.65 ▼33.7950.71 ▼7.89
Media Library /wp-admin/upload.php1,392 ▲14.10 ▼0.1693.80 ▼6.1143.55 ▼0.01
UserGuiding /wp-admin/options-general.php?page=userguiding8272.0524.0025.46

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
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 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
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/userguiding/userguiding.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/userguiding/options.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
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
9 plugin tags: ux, user onboarding, userguiding, product adoption, product tour...

userguiding/userguiding.php Passed 13 tests

"UserGuiding" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
80 characters long description:
Create quick, hassle free, and interactive guides for an easier product journey.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin108 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22713108

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity6.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%
Functions1
▷ Named functions1100.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
No PNG files were detected