89% luway-seo-checker

Code Review | Luway SEO Checker

WordPress plugin Luway SEO Checker scored89%from 54 tests.

About plugin

  • Plugin page: luway-seo-checker
  • Plugin version: 0.3.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Dec 21, 2021
  • Latest release: Dec 27, 2021
  • Number of updates: 16
  • Update frequency: every 0.4 days
  • Top authors: Wayfinder.tm (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /286 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Luway SEO Checker
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.76 ▲1.50
Dashboard /wp-admin3.31 ▲0.0146.28 ▲0.71
Posts /wp-admin/edit.php3.36 ▲0.0151.67 ▲1.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.30 ▼10.22
Media Library /wp-admin/upload.php3.24 ▲0.0136.07 ▲2.22

Server storage [IO: ▲0.81MB] [DB: ▲0.07MB] Passed 3 tests

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

Browser metrics Passed 4 tests

An overview of browser requirements for Luway SEO Checker
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,010 ▲27516.85 ▲2.0570.80 ▲68.8658.28 ▲15.45
Dashboard /wp-admin2,212 ▲275.84 ▲0.96107.88 ▲1.8139.58 ▼5.39
Posts /wp-admin/edit.php2,101 ▲122.05 ▲0.0340.36 ▼0.6636.00 ▲1.37
Add New Post /wp-admin/post-new.php1,545 ▲2818.48 ▲0.95607.84 ▼23.5653.45 ▲3.94
Media Library /wp-admin/upload.php1,400 ▲94.19 ▲0.0495.46 ▼7.6039.98 ▼4.69

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

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 errors were detected

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:
  • Contributors: Plugin contributors field is missing
  • Screenshots: These screenshots need descriptions #1, #2 in luway-seo-checker/assets to your readme.txt
The official readme.txt is a good inspiration

luway-seo-checker/luway-seo-checker.php Passed 13 tests

The main PHP file in "Luway SEO Checker" ver. 0.3.0 adds more information about the plugin and also serves as the entry point for this plugin
27 characters long description:
SEO Checker for WooCommerce

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 detected148 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JSON15091
PHP191046
CSS10010
JavaScript1011

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.30
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin