73% blogpatcher-seo

Code Review | Blogpatcher SEO

WordPress plugin Blogpatcher SEO scored 73% from 54 tests.

About plugin

  • Plugin page: blogpatcher-seo
  • Plugin version: 0.2.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.2.2
  • WordPress version: 6.3.1
  • First release: Jul 17, 2019
  • Latest release: Aug 23, 2019
  • Number of updates: 15
  • Update frequency: every 2.5 days
  • Top authors: blogpatcher (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 787 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.01ms] Passed 4 tests

Analyzing server-side resources used by Blogpatcher SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0434.85 ▼9.78
Dashboard /wp-admin3.33 ▲0.0345.32 ▼4.19
Posts /wp-admin/edit.php3.38 ▲0.0247.07 ▼0.27
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.11 ▼1.81
Media Library /wp-admin/upload.php3.25 ▲0.0237.26 ▲2.52
All Posts /wp-admin/edit.php?post_type=book3.2942.84

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Blogpatcher SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲8713.22 ▼1.091.67 ▼0.3039.90 ▼4.60
Dashboard /wp-admin2,242 ▲515.78 ▲0.8894.22 ▼19.3038.17 ▼10.37
Posts /wp-admin/edit.php2,092 ▲32.04 ▼0.0241.79 ▲6.4135.48 ▲1.11
Add New Post /wp-admin/post-new.php6,754 ▲5,22020.57 ▼2.49949.95 ▲297.9544.64 ▼7.62
Media Library /wp-admin/upload.php1,391 ▲64.20 ▼0.1396.02 ▼18.3941.49 ▼5.82
All Posts /wp-admin/edit.php?post_type=book1,0521.9329.8529.29

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The plugin did not uninstall correctly, leaving 7 files (0.19MB) in the plugin directory
    • (new file) admin/css/blogpatcher-plugin-sidebar.css
    • (new file) admin/js/blogpatcher-jsapi.js
    • (new file) admin/js/blogpatcher-admin.js
    • (new file) admin/js/blogpatcher-jquery.mark.min.js
    • (new file) blogpatcher.php
    • (new file) readme.txt
    • (new file) admin/js/blogpatcher-plugin-sidebar.js
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blogpatcher-seo/blogpatcher.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: content optimization, content analysis, seo, readability

blogpatcher-seo/blogpatcher.php 77% from 13 tests

The primary PHP file in "Blogpatcher SEO" version 0.2.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("blogpatcher-seo.php" instead of "blogpatcher.php")

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 plugin2,304 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript44173751,643
CSS18438427
PHP169125234

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin