90% nextplugins-lightweight-seo

Code Review | NextPlugins Lightweight SEO

WordPress plugin NextPlugins Lightweight SEO scored90%from 54 tests.

About plugin

  • Plugin page: nextplugins-light...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.8
  • WordPress version: 6.3.1
  • First release: Apr 6, 2017
  • Latest release: Apr 6, 2017
  • Number of updates: 5
  • Update frequency: every 26.2 days
  • Top authors: nextplugins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /589 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.69MB] [CPU: ▼19.64ms] Passed 4 tests

This is a short check of server-side resources used by NextPlugins Lightweight SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0034.11 ▼2.44
Dashboard /wp-admin3.32 ▲0.0142.40 ▼9.86
Posts /wp-admin/edit.php3.37 ▲0.0144.93 ▼2.20
Add New Post /wp-admin/post-new.php3.10 ▼2.7833.92 ▼64.04
Media Library /wp-admin/upload.php3.24 ▲0.0133.28 ▲1.27

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
recovery_mode_email_last_sent
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by NextPlugins Lightweight SEO
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.23 ▼1.161.64 ▼0.0641.85 ▼2.94
Dashboard /wp-admin2,203 ▲155.79 ▲0.92105.42 ▲1.7043.37 ▼1.80
Posts /wp-admin/edit.php2,089 ▼02.02 ▼0.0338.75 ▲2.9435.11 ▲0.67
Add New Post /wp-admin/post-new.php45 ▼1,4830.44 ▼17.800.06 ▼625.269.63 ▼43.42
Media Library /wp-admin/upload.php1,382 ▼64.15 ▼0.0899.53 ▼8.0960.67 ▲15.43

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • recovery_mode_email_last_sent

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

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 Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: nextplugins seo, twitter card, meta description, lightweight seo, meta keywords...

nextplugins-lightweight-seo/nextplugins-lightweight-seo.php Passed 13 tests

The primary PHP file in "NextPlugins Lightweight SEO" version 1.0.0 is used by WordPress to initiate all plugin functionality
37 characters long description:
Lightweight SEO plugin for WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin203 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP26139203

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity25.00
▷ Minimum class complexity25.00
▷ Maximum class complexity25.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods18.33%
▷ Public methods1191.67%
▷ Protected methods00.00%
▷ Private methods18.33%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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
There were not PNG files found in your plugin