Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.56ms] Passed 4 tests
A check of server-side resources used by Simple NoAI and NoImageAI
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.84 ▼3.25 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.22 ▲0.08 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.57 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 79.77 ▼6.20 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 32.51 ▼0.87 |
Simple NoAI Options /wp-admin/options-general.php?page=noai | 3.28 | 32.44 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple NoAI and NoImageAI
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲58 | 14.31 ▼0.05 | 2.06 ▲0.40 | 44.75 ▼0.18 |
Dashboard /wp-admin | 2,196 ▲16 | 5.63 ▼0.01 | 91.31 ▲4.22 | 40.62 ▼7.35 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.94 ▼0.01 | 39.82 ▼2.02 | 35.99 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.21 ▲0.12 | 594.55 ▼88.04 | 79.59 ▲30.67 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.21 ▼0.02 | 96.22 ▼9.01 | 42.55 ▼3.54 |
Simple NoAI Options /wp-admin/options-general.php?page=noai | 921 | 2.16 | 21.97 | 29.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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 0% 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-noai-and-noimageai/._index.php
- > /wp-content/plugins/simple-noai-and-noimageai/noai.php
- > /wp-content/plugins/simple-noai-and-noimageai/includes/._noai-settings.php
- > /wp-content/plugins/simple-noai-and-noimageai/._noai.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/simple-noai-and-noimageai/includes/noai-settings.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: noai, noimageai
simple-noai-and-noimageai/noai.php 77% from 13 tests
"Simple NoAI and NoImageAI" version 1.6.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 235 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("simple-noai-and-noimageai.php" instead of "noai.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin338 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 81 | 76 | 338 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin