89% automated-blog-content-creator

Code Review | Automated Blog Content Creator

WordPress plugin Automated Blog Content Creator scored89%from 54 tests.

About plugin

  • Plugin page: automated-blog-co...
  • Plugin version: 0.8
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.2
  • WordPress version: 6.3.1
  • First release: Jun 9, 2023
  • Latest release: Jun 9, 2023
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: phalkmin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /93 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▲14.99ms] Passed 4 tests

A check of server-side resources used by Automated Blog Content Creator
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1066.42 ▲29.79
Dashboard /wp-admin3.40 ▲0.1068.20 ▲20.55
Posts /wp-admin/edit.php3.45 ▲0.0971.13 ▲22.45
Add New Post /wp-admin/post-new.php5.92 ▲0.03106.84 ▲15.67
Media Library /wp-admin/upload.php3.24 ▲0.0138.76 ▲1.27
OpenAI Blog Post /wp-admin/options-general.php?page=automated-blog-content-creator-post3.2353.43

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Automated Blog Content Creator
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.69 ▼0.661.74 ▲0.1545.85 ▲0.30
Dashboard /wp-admin2,210 ▲214.89 ▼0.07104.35 ▼11.4441.01 ▼0.37
Posts /wp-admin/edit.php2,090 ▲12.01 ▼0.0040.29 ▼0.9835.01 ▲1.34
Add New Post /wp-admin/post-new.php1,517 ▼2517.59 ▼0.56701.07 ▲95.4960.12 ▲6.32
Media Library /wp-admin/upload.php1,395 ▲44.14 ▼0.1496.86 ▲1.4443.16 ▲0.38
OpenAI Blog Post /wp-admin/options-general.php?page=automated-blog-content-creator-post8342.0327.5125.40

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side


Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: These screenshots do not have images: #1 (Plugin settings page - Configure API key, keywords, and other options.), #2 (Example generated blog post using Gutenberg blocks.)
You can look at the official readme.txt

automated-blog-content-creator/auto-post.php 77% from 13 tests

This is the main PHP file of "Automated Blog Content Creator" version 0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Main file name: Name the main plugin file the same as the plugin slug ("automated-blog-content-creator.php" instead of "auto-post.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,131 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity19.83
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.19
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
▷ Static methods3536.46%
▷ Public methods9295.83%
▷ Protected methods00.00%
▷ Private methods44.17%
▷ Named functions1292.31%
▷ Anonymous functions17.69%
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected