Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▲495.59ms] 75% from 4 tests
An overview of server-side resources used by WrAIter Light - AI Assisted Autocontent Elementor and Gutenberg Pilot support Light Version
Please have a look at the following items
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 495.59ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 37.50 ▼1.91 |
Dashboard /wp-admin | 3.62 ▲0.28 | 2,070.55 ▲2,011.00 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 724.15 ▲674.62 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 732.77 ▲642.38 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 707.59 ▲667.27 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WrAIter Light - AI Assisted Autocontent Elementor and Gutenberg Pilot support Light Version
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲115 | 13.22 ▼1.16 | 1.86 ▲0.06 | 39.91 ▲4.21 |
Dashboard /wp-admin | 2,268 ▲77 | 5.87 ▲0.98 | 98.63 ▼4.23 | 70.42 ▲16.71 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.04 ▲0.04 | 36.06 ▼4.06 | 32.65 ▼6.84 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 18.37 ▲0.90 | 606.71 ▼3.46 | 52.08 ▼11.05 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.22 ▲0.06 | 97.32 ▼1.89 | 46.56 ▲2.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant WRAITER_LIGHT_PATH - assumed 'WRAITER_LIGHT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wraiter-light-ai-assisted-autocontent-elementor-support-light-version/includes/class-wraiter-light-loader.php on line 56
- > PHP Warning
require_once(WRAITER_LIGHT_PATH/includes/helpers.php): failed to open stream: No such file or directory in wp-content/plugins/wraiter-light-ai-assisted-autocontent-elementor-support-light-version/includes/class-wraiter-light-loader.php on line 56
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wraiter-light-ai-assisted-autocontent-elementor-support-light-version/includes/gutenberg/gutenberg.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wraiter-light-ai-assisted-autocontent-elementor-support-light-version/includes/settings.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wraiter-light-ai-assisted-autocontent-elementor-support-light-version/includes/ad-banner.php:40
- > PHP Fatal error
require_once(): Failed opening required 'WRAITER_LIGHT_PATH/includes/helpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/wraiter-light-ai-assisted-autocontent-elementor-support-light-version/includes/class-wraiter-light-loader.php on line 56
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots need descriptions #1, #2 in wraiter-light-ai-assisted-autocontent-elementor-support-light-version/assets to your readme.txt
wraiter-light-ai-assisted-autocontent-elementor-support-light-version/wraiter-light.php 77% from 13 tests
Analyzing the main PHP file in "WrAIter Light - AI Assisted Autocontent Elementor and Gutenberg Pilot support Light Version" version 1.2.0
The following require your attention:
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 71 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wraiter-light-ai-assisted-autocontent-elementor-support-light-version.php" instead of "wraiter-light.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected3,756 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 120 | 565 | 1,318 |
JavaScript | 10 | 157 | 114 | 1,138 |
CSS | 2 | 34 | 12 | 612 |
Sass | 1 | 41 | 0 | 385 |
SVG | 1 | 0 | 0 | 303 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
PNG images were not found in this plugin