68% seo-marketing-checklist

Code Review | Seo Marketing Checklist

WordPress plugin Seo Marketing Checklist scored 68% from 54 tests.

About plugin

  • Plugin page: seo-marketing-che...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.1-6.2.2
  • WordPress version: 6.3.1
  • First release: Aug 6, 2019
  • Latest release: Jun 14, 2023
  • Number of updates: 31
  • Update frequency: every 45.4 days
  • Top authors: lightimagemedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 650 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▼0.87MB] [CPU: ▼34.60ms] Passed 4 tests

Server-side resources used by Seo Marketing Checklist
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1047.46 ▲3.94
Dashboard /wp-admin3.08 ▼0.2326.42 ▼33.74
Posts /wp-admin/edit.php3.08 ▼0.2834.51 ▼20.14
Add New Post /wp-admin/post-new.php3.08 ▼2.8127.28 ▼68.28
Media Library /wp-admin/upload.php3.08 ▼0.1524.79 ▼16.22

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Seo Marketing Checklist: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,931 ▲14213.95 ▲0.299.08 ▲7.1446.19 ▲1.80
Dashboard /wp-admin2,226 ▲174.84 ▼0.01108.20 ▼8.1444.40 ▲3.23
Posts /wp-admin/edit.php2,112 ▲262.02 ▼0.0141.72 ▲5.7636.37 ▲3.99
Add New Post /wp-admin/post-new.php1,557 ▲2423.12 ▲0.09681.01 ▲0.0756.78 ▲2.31
Media Library /wp-admin/upload.php1,402 ▲114.22 ▼0.0597.17 ▼5.3942.52 ▼1.67

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/seo-marketing-checklist/inc/admin/class-admin.php+117
    Undefined variable: ajax_form_page_hook
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 0% 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 fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/seo-marketing-checklist/inc/frontend/views/html-prwirepro-press-release-writer-frontend-display.php
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/seo-marketing-checklist/inc/admin/views/partials-html-form-view.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: search engine optimization, advertising, seo marketing checklist

seo-marketing-checklist/seo-marketing-checklist.php Passed 13 tests

The entry point to "Seo Marketing Checklist" version 1.0.0 is a PHP file that has certain tags in its header comment area
94 characters long description:
A simple seo marketing checklist you can use to easily market and promote your website online.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin559 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP132,662521534
JavaScript2123625
CSS22100

PHP code Passed 2 tests

An short overview of 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.14
Average class complexity2.00
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.24
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods34
▷ Static methods38.82%
▷ Public methods2985.29%
▷ Protected methods00.00%
▷ Private methods514.71%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants7
▷ Global constants7100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
inc/admin/assets/images/pressreleasetemplate.png20.10KB5.80KB▼ 71.13%