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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.75 ▲3.96 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.64 ▼5.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.59 ▲1.18 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.04 ▼6.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.22 ▲0.72 |
Users /wp-admin/admin.php?page=nexmind-plugin-users-page | 3.21 | 31.71 |
NexMind /wp-admin/admin.php?page=nexmind-plugin-page | 3.22 | 31.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.33 ▼1.25 | 1.71 ▲0.02 | 49.18 ▲9.05 |
Dashboard /wp-admin | 2,232 ▲41 | 4.92 ▲0.02 | 99.18 ▼2.56 | 98.97 ▲59.93 |
Posts /wp-admin/edit.php | 2,118 ▲32 | 2.04 ▲0.03 | 40.79 ▲0.61 | 35.14 ▼5.13 |
Add New Post /wp-admin/post-new.php | 1,689 ▲153 | 22.59 ▼0.71 | 619.19 ▼31.10 | 58.68 ▲7.51 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.21 ▼0.02 | 98.48 ▼3.41 | 81.44 ▲33.79 |
Users /wp-admin/admin.php?page=nexmind-plugin-users-page | 854 | 2.14 | 23.96 | 25.82 |
NexMind /wp-admin/admin.php?page=nexmind-plugin-page | 997 | 2.07 | 28.42 | 28.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 67 | 15 | 402 |
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 code | 0.22 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 14 | |
▷ Named functions | 9 | 64.29% |
▷ Anonymous functions | 5 | 35.71% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
a1.png | 2.47KB | 1.26KB | ▼ 49.07% |