89% writio

Code Review | Writio

WordPress plugin Writio scored89%from 54 tests.

About plugin

  • Plugin page: writio
  • Plugin version: 1.3.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.0-6.2
  • WordPress version: 6.3.1
  • First release: Jul 20, 2023
  • Latest release: Nov 3, 2023
  • Number of updates: 6
  • Update frequency: every 17.8 days
  • Top authors: ezoic (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

800+ active /2,947 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼1.78ms] Passed 4 tests

A check of server-side resources used by Writio
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1240.60 ▲1.46
Dashboard /wp-admin3.47 ▲0.1369.75 ▲9.60
Posts /wp-admin/edit.php3.51 ▲0.1548.42 ▼3.20
Add New Post /wp-admin/post-new.php5.98 ▲0.0988.72 ▼11.21
Media Library /wp-admin/upload.php3.32 ▲0.0940.80 ▲5.82
Writio /wp-admin/options-general.php?page=writio3.2833.00

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Writio
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲4314.19 ▼0.091.67 ▼0.0937.53 ▼11.40
Dashboard /wp-admin2,199 ▲195.62 ▼0.0088.55 ▼1.5441.11 ▲0.92
Posts /wp-admin/edit.php2,111 ▲82.03 ▲0.0838.48 ▼5.5735.14 ▼1.08
Add New Post /wp-admin/post-new.php1,529 ▲323.18 ▲0.20667.24 ▲24.3357.94 ▼4.94
Media Library /wp-admin/upload.php1,404 ▲104.07 ▼0.09111.70 ▲9.1847.24 ▲4.73
Writio /wp-admin/options-general.php?page=writio7962.0028.6528.64

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: content generation, writio, ai

writio/writio.php 85% from 13 tests

The primary PHP file in "Writio" version 1.3.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)

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
Success! There were no dangerous files found in this plugin574 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP811171572
Markdown1102

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions30
▷ Named functions30100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin