74% ctrify

Code Review | CTRify AI SEO Content

WordPress plugin CTRify AI SEO Content scored74%from 54 tests.

About plugin

  • Plugin page: ctrify
  • Plugin version: 2.1.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4
  • WordPress version: 6.3.1
  • First release: Jul 16, 2021
  • Latest release: Nov 16, 2023
  • Number of updates: 62
  • Update frequency: every 13.8 days
  • Top authors: ctrify (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

400+ active /11,479 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

An overview of server-side resources used by CTRify AI SEO Content
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0335.95 ▼3.71
Dashboard /wp-admin3.33 ▲0.0246.65 ▼6.85
Posts /wp-admin/edit.php3.38 ▲0.0347.12 ▼0.75
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.69 ▼15.63
Media Library /wp-admin/upload.php3.25 ▲0.0232.16 ▼3.37

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: 1 new table, 7 new options
New tables
ctrify_temp
New WordPress options
can_compress_scripts
ctrifysl_options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for CTRify AI SEO Content
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲5514.34 ▲0.091.80 ▼0.0528.55 ▼16.95
Dashboard /wp-admin2,222 ▲425.57 ▼0.0896.18 ▼4.6282.71 ▲38.98
Posts /wp-admin/edit.php2,149 ▲492.33 ▲0.3841.86 ▼0.1241.04 ▲4.73
Add New Post /wp-admin/post-new.php1,566 ▲4023.12 ▼0.15690.43 ▲18.6448.93 ▼2.12
Media Library /wp-admin/upload.php1,430 ▲274.19 ▼0.03101.71 ▼0.8777.79 ▲32.44

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'uninstall' not found or invalid function name
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/ctrify/ctrify.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% 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:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
Please take inspiration from this readme.txt

ctrify/ctrify.php 92% from 13 tests

The primary PHP file in "CTRify AI SEO Content" version 2.1.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 315 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,893 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP27283851,693
CSS2239122
JavaScript23978

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity287.00
▷ Minimum class complexity287.00
▷ Maximum class complexity287.00
Average method complexity4.40
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods81
▷ Static methods22.47%
▷ Public methods7187.65%
▷ Protected methods00.00%
▷ Private methods1012.35%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants4
▷ Global constants4100.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
13 PNG files occupy 0.40MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/iconw17.png0.29KB0.21KB▼ 26.35%
img/icon19.png0.35KB0.24KB▼ 32.13%
img/alberto.png135.23KB54.93KB▼ 59.38%
img/ctrify_icon24.png0.63KB0.46KB▼ 26.75%
img/loading-icon.png5.23KB2.21KB▼ 57.68%