84% wp-steps

Code Review | WP Steps

WordPress plugin WP Steps scored84%from 54 tests.

About plugin

  • Plugin page: wp-steps
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7.4
  • WordPress version: 6.3.1
  • First release: May 1, 2017
  • Latest release: May 1, 2017
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: webitizer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /847 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.26ms] Passed 4 tests

An overview of server-side resources used by WP Steps
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0137.72 ▼4.04
Dashboard /wp-admin3.35 ▼0.0346.62 ▼13.20
Posts /wp-admin/edit.php3.40 ▲0.0151.35 ▲7.64
Add New Post /wp-admin/post-new.php5.93 ▲0.0191.68 ▼1.66
Media Library /wp-admin/upload.php3.27 ▲0.0136.26 ▲1.88

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Steps
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲5713.35 ▼0.901.54 ▼0.1043.09 ▲2.10
Dashboard /wp-admin2,206 ▲154.80 ▼1.11117.16 ▲15.7654.51 ▲14.33
Posts /wp-admin/edit.php2,089 ▼02.05 ▼0.0143.81 ▲6.7137.89 ▲3.53
Add New Post /wp-admin/post-new.php1,531 ▲1218.07 ▼5.21614.99 ▼17.8065.53 ▲18.57
Media Library /wp-admin/upload.php1,388 ▼04.20 ▲0.0892.71 ▼10.4941.86 ▼3.48

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/wp-steps/wp-steps.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (In Editor Codeview you see a button named `wpsteps`. If you press this button it will insert the shortcode.), #2 (This is how a setup may look.)
  • Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

wp-steps/wp-steps.php Passed 13 tests

"WP Steps" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
83 characters long description:
WP Steps shows your content step by step. There is no limit how many steps you use.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected73 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP141258
JavaScript10015

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.47
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 files were detected