73% nexmind

Code Review | NexMind

WordPress plugin NexMind scored 73% from 54 tests.

About plugin

  • Plugin page: nexmind
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0 or higher+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Aug 8, 2023
  • Latest release: Aug 10, 2023
  • Number of updates: 15
  • Update frequency: every 0.3 days
  • Top authors: techteamnexmind (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 128 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

Server-side resources used by NexMind
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.75 ▲3.96
Dashboard /wp-admin3.32 ▲0.0244.64 ▼5.36
Posts /wp-admin/edit.php3.37 ▲0.0248.59 ▲1.18
Add New Post /wp-admin/post-new.php5.91 ▲0.0291.04 ▼6.59
Media Library /wp-admin/upload.php3.25 ▲0.0237.22 ▲0.72
Users /wp-admin/admin.php?page=nexmind-plugin-users-page3.2131.71
NexMind /wp-admin/admin.php?page=nexmind-plugin-page3.2231.91

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: 1 new table, 6 new options
New tables
wp_nexmind_settings
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by NexMind
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,826 ▲8013.33 ▼1.251.71 ▲0.0249.18 ▲9.05
Dashboard /wp-admin2,232 ▲414.92 ▲0.0299.18 ▼2.5698.97 ▲59.93
Posts /wp-admin/edit.php2,118 ▲322.04 ▲0.0340.79 ▲0.6135.14 ▼5.13
Add New Post /wp-admin/post-new.php1,689 ▲15322.59 ▼0.71619.19 ▼31.1058.68 ▲7.51
Media Library /wp-admin/upload.php1,414 ▲264.21 ▼0.0298.48 ▼3.4181.44 ▲33.79
Users /wp-admin/admin.php?page=nexmind-plugin-users-page8542.1423.9625.82
NexMind /wp-admin/admin.php?page=nexmind-plugin-page9972.0728.4228.71

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The plugin did not uninstall successfully, leaving 1 table in the database
    • wp_nexmind_settings
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/nexmind/wl-api.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: seo automation, nexmind ai, ai content generator, nexmind

nexmind/wl-api.php 77% from 13 tests

The primary PHP file in "NexMind" version 1.0.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("nexmind.php" instead of "wl-api.php")
  • Requires PHP: Required version number formatted incorrectly (ex. "7.0" instead of "7.0 or higher")
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

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
Good job! No executable or dangerous file extensions detected402 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16715402

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.38
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods787.50%
▷ Protected methods00.00%
▷ Private methods112.50%
Functions14
▷ Named functions964.29%
▷ Anonymous functions535.71%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
a1.png2.47KB1.26KB▼ 49.07%