78% step-by-step

Code Review | Step by Step

WordPress plugin Step by Step scored78%from 54 tests.

About plugin

  • Plugin page: step-by-step
  • Plugin version: 0.4.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.1-5.4.1
  • WordPress version: 6.3.1
  • First release: May 19, 2014
  • Latest release: Jun 9, 2020
  • Number of updates: 113
  • Update frequency: every 19.6 days
  • Top authors: kmb40 (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

90+ active /11,724 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

A check of server-side resources used by Step by Step
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1145.99 ▲4.15
Dashboard /wp-admin3.42 ▲0.1147.82 ▼9.24
Posts /wp-admin/edit.php3.47 ▲0.1151.26 ▲5.57
Add New Post /wp-admin/post-new.php6.00 ▲0.1184.83 ▼25.24
Media Library /wp-admin/upload.php3.34 ▲0.1137.41 ▲1.86
All Guides /wp-admin/edit.php?post_type=article3.3841.34
Add New /wp-admin/post-new.php?post_type=article3.4651.48

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Step by Step
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,861 ▲11513.22 ▼1.186.51 ▲4.5744.66 ▲1.51
Dashboard /wp-admin2,239 ▲514.84 ▼1.02113.23 ▼3.1843.24 ▲1.49
Posts /wp-admin/edit.php2,122 ▲332.02 ▼0.0036.28 ▲1.4932.48 ▼2.41
Add New Post /wp-admin/post-new.php1,566 ▲3723.31 ▲5.23645.41 ▼22.1950.33 ▼5.71
Media Library /wp-admin/upload.php1,424 ▲364.36 ▲0.18102.02 ▼6.6743.09 ▼0.30
Settings /wp-admin/step-by-step.php260.440.1214.28
All Guides /wp-admin/edit.php?post_type=article1,0951.9334.2128.87
Add New /wp-admin/post-new.php?post_type=article2,2537.61161.8868.88

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • step_setting
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 50% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/step-by-step/single-article.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/step-by-step/step-by-step.php:31

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
    • > GET request to /wp-admin/step-by-step.php
    • > Network (severe)
    wp-admin/step-by-step.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 25 tag instead of maximum 10
The official readme.txt is a good inspiration

step-by-step/step-by-step.php 92% from 13 tests

The main PHP file in "Step by Step" ver. 0.4.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

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 plugin468 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP213849468

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions16
▷ Named functions16100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin