83% neuwo

Code Review | AI Content toolbox - make content valuable and valuable content​

WordPress plugin AI Content toolbox - make content valuable and valuable content​ scored83%from 54 tests.

About plugin

  • Plugin page: neuwo
  • Plugin version: 1.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.1
  • WordPress version: 6.3.1
  • First release: Jan 25, 2023
  • Latest release: Mar 23, 2023
  • Number of updates: 21
  • Update frequency: every 2.7 days
  • Top authors: matsmelen (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /367 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.89ms] Passed 4 tests

This is a short check of server-side resources used by AI Content toolbox - make content valuable and valuable content​
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.45 ▼3.40
Dashboard /wp-admin3.32 ▼0.0249.52 ▼11.46
Posts /wp-admin/edit.php3.37 ▲0.0244.37 ▲1.57
Add New Post /wp-admin/post-new.php5.91 ▲0.0392.22 ▲6.12
Media Library /wp-admin/upload.php3.25 ▲0.0235.16 ▲1.75
Neuwo /wp-admin/options-general.php?page=neuwo_plugin3.2130.84

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for AI Content toolbox - make content valuable and valuable content​
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.34 ▼0.381.90 ▲0.1142.25 ▼2.56
Dashboard /wp-admin2,199 ▲195.52 ▼0.1581.68 ▼17.4536.45 ▼5.93
Posts /wp-admin/edit.php2,101 ▲12.01 ▲0.0033.99 ▼1.4134.20 ▼0.27
Add New Post /wp-admin/post-new.php1,529 ▲323.31 ▲0.04596.84 ▼102.0154.63 ▼8.51
Media Library /wp-admin/upload.php1,404 ▲44.26 ▲0.0894.26 ▼7.9942.15 ▲0.23
Neuwo /wp-admin/options-general.php?page=neuwo_plugin9202.1321.3828.51

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • 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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 5× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/neuwo/settings.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/neuwo/functions.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neuwo/metabox.php:40
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neuwo/gutenberg.php:40
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/neuwo/neuwo.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Add images for these screenshots: #1 (Go to settings and request the token by submitting your email.), #2 (You will in return receive an email with the token.), #3 (Insert token and enable Neuwo), #4 (A Get Keywords button will appear. Push that button and Neuwo AI tags will return the topics of the text. You can hit the + sign and the category will be added as a tag.), #5 (AI writer prompting: Write a paragraph of text in the article about the topic [title]. Use these keywords [tags]. Continue from this text: [content])
  • Contributors: The plugin contributors field is missing
Please take inspiration from this readme.txt

neuwo/neuwo.php 92% from 13 tests

This is the main PHP file of "AI Content toolbox - make content valuable and valuable content​" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Domain Path: The domain path folder was not found ("/public/lang")

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
Good job! No executable or dangerous file extensions detected37,681 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
JSON20036,270
PHP6235179970
JavaScript96741366
Sass111050
CSS24025

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.37
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%
Functions46
▷ Named functions3576.09%
▷ Anonymous functions1123.91%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin