89% ai-scribe

Code Review | AI Scribe - Content Writer, OpenAI GPT

WordPress plugin AI Scribe - Content Writer, OpenAI GPT scored89%from 54 tests.

About plugin

  • Plugin page: ai-scribe
  • Plugin version: 1.4
  • PHP compatiblity: 5.8+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jul 12, 2023
  • Latest release: Oct 27, 2023
  • Number of updates: 11
  • Update frequency: every 9.9 days
  • Top authors: livemesh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /453 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.08MB] [CPU: ▼5.18ms] Passed 4 tests

A check of server-side resources used by AI Scribe - Content Writer, OpenAI GPT
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0948.35 ▲8.78
Dashboard /wp-admin3.40 ▲0.0947.66 ▼0.26
Posts /wp-admin/edit.php3.51 ▲0.1544.93 ▼7.26
Add New Post /wp-admin/post-new.php5.94 ▲0.0582.77 ▼12.58
Media Library /wp-admin/upload.php3.32 ▲0.0935.95 ▼0.60
AI Scribe /wp-admin/admin.php?page=aiscribe-app3.2932.50
Settings /wp-admin/admin.php?page=aiscribe-settings3.2932.04

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for AI Scribe - Content Writer, OpenAI GPT
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲7614.24 ▼0.021.87 ▲0.1543.65 ▼1.09
Dashboard /wp-admin2,215 ▲415.64 ▼0.0583.87 ▼15.1139.79 ▼3.53
Posts /wp-admin/edit.php2,120 ▲202.02 ▲0.0136.02 ▲2.1534.42 ▼0.00
Add New Post /wp-admin/post-new.php1,559 ▲3324.23 ▲1.07666.82 ▼14.3855.53 ▲0.32
Media Library /wp-admin/upload.php1,426 ▲234.17 ▼0.0693.82 ▼12.4540.70 ▼1.54
AI Scribe /wp-admin/admin.php?page=aiscribe-app1,0425.02120.65107.53
Settings /wp-admin/admin.php?page=aiscribe-settings1,0276.72140.8251.65

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: These screenshots lack descriptions #10, #11, #4, #5, #6, #7, #8, #9 in ai-scribe/assets to your readme.txt
Please take inspiration from this readme.txt

ai-scribe/ai-scribe.php 77% from 13 tests

The principal PHP file in "AI Scribe - Content Writer, OpenAI GPT" v. 1.4 is loaded by WordPress automatically on each request
The following require your attention:
  • Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
  • Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,185 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PO File1274547697
PHP9232189466
CSS25018
JSON2002
JavaScript2002

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity12.75
▷ Minimum class complexity5.00
▷ Maximum class complexity22.00
Average method complexity3.94
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes125.00%
Methods19
▷ Static methods15.26%
▷ Public methods1684.21%
▷ Protected methods00.00%
▷ Private methods315.79%
Functions20
▷ Named functions1155.00%
▷ Anonymous functions945.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin