84% fuzion

Code Review | Fuzion - Write. Create. Dream. AI.

WordPress plugin Fuzion - Write. Create. Dream. AI. scored84%from 54 tests.

About plugin

  • Plugin page: fuzion
  • Plugin version: 1.4.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.4
  • WordPress version: 6.3.1
  • First release: Oct 8, 2022
  • Latest release: Oct 27, 2023
  • Number of updates: 10
  • Update frequency: every 38.8 days
  • Top authors: fuzionai (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /766 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.25MB] [CPU: ▼5.27ms] Passed 4 tests

This is a short check of server-side resources used by Fuzion - Write. Create. Dream. AI.
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2941.38 ▲4.76
Dashboard /wp-admin3.59 ▲0.2951.50 ▲3.30
Posts /wp-admin/edit.php3.64 ▲0.2850.01 ▼0.31
Add New Post /wp-admin/post-new.php6.11 ▲0.2285.85 ▼26.26
Media Library /wp-admin/upload.php3.45 ▲0.2235.63 ▲2.18
Fuzion AI /wp-admin/options-general.php?page=fuzion3.4432.52

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Fuzion - Write. Create. Dream. AI.
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.25 ▼0.101.68 ▲0.1042.74 ▲2.30
Dashboard /wp-admin2,202 ▲255.66 ▲0.0787.16 ▲0.1336.60 ▼6.43
Posts /wp-admin/edit.php2,107 ▲72.00 ▲0.0633.93 ▼2.8434.16 ▼1.01
Add New Post /wp-admin/post-new.php1,531 ▼623.06 ▲4.83670.30 ▲45.5454.05 ▼6.73
Media Library /wp-admin/upload.php1,404 ▲74.23 ▼0.0894.25 ▼3.9944.04 ▼1.61
Fuzion AI /wp-admin/options-general.php?page=fuzion8532.0325.5933.85

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 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)
Good news, no errors were detected

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
Please take a closer look at the following
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Trait 'Fuzion\\App\\Traits\\Utils' not found in wp-content/plugins/fuzion/app/admin/class-view.php on line 25
    • > PHP Fatal error
      Uncaught Error: Class 'Fuzion\\App\\Admin\\View' not found in wp-content/plugins/fuzion/app/admin/class-admin.php:22
    • > PHP Fatal error
      Trait 'Fuzion\\App\\Traits\\Utils' not found in wp-content/plugins/fuzion/app/class-editor.php on line 24

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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #5, #6 in fuzion/assets to your readme.txt
The official readme.txt might help

fuzion/fuzion.php 92% from 13 tests

The principal PHP file in "Fuzion - Write. Create. Dream. AI." v. 1.4.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

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
Success! There were no dangerous files found in this plugin2,914 lines of code in 59 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript252015231,324
PHP275021,1541,288
Sass3592298
CSS3003
SVG1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity6.59
▷ Minimum class complexity1.00
▷ Maximum class complexity22.00
Average method complexity2.28
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces9
Interfaces0
Traits1
Classes16
▷ Abstract classes212.50%
▷ Concrete classes1487.50%
▷ Final classes00.00%
Methods74
▷ Static methods2128.38%
▷ Public methods5979.73%
▷ Protected methods912.16%
▷ Private methods68.11%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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