Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.94ms] Passed 4 tests
An overview of server-side resources used by Redaction.io
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.21 ▲1.93 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.16 ▼13.89 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 44.46 ▼2.48 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 81.29 ▼18.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 33.21 ▼0.62 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Redaction.io
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.16 ▼1.48 | 1.75 ▲0.07 | 44.76 ▲3.18 |
Dashboard /wp-admin | 2,225 ▲43 | 5.80 ▼0.06 | 98.88 ▼7.57 | 46.88 ▲5.28 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.04 ▼0.01 | 36.71 ▲1.25 | 35.10 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,371 ▼143 | 16.60 ▼0.93 | 565.09 ▼176.19 | 43.89 ▼26.88 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.41 ▲0.13 | 96.67 ▼4.06 | 43.83 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/redaction-io/inc/rest-api/rest-api.php
- > /wp-content/plugins/redaction-io/inc/admin/metaboxes.php
- > /wp-content/plugins/redaction-io/redaction-io-autoload.php
- > /wp-content/plugins/redaction-io/inc/admin/admin.php
- > /wp-content/plugins/redaction-io/inc/admin/admin-pages/main.php
- > /wp-content/plugins/redaction-io/inc/admin/admin-pages/bulk-create/bulk-create.php
- > /wp-content/plugins/redaction-io/redaction-io.php
- > /wp-content/plugins/redaction-io/inc/xhr/admin.php
- > /wp-content/plugins/redaction-io/inc/admin/metaboxes/admin-metaboxes-keyword.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/redaction-io/inc/admin/admin-pages/partials/html-top.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Requires at least: Invalid version format
redaction-io/redaction-io.php Passed 13 tests
The main PHP file in "Redaction.io" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
34 characters long description:
Generate Full Content SEO with AI.
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
Good job! No executable or dangerous file extensions detected11,192 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 10,057 |
PHP | 15 | 207 | 377 | 972 |
PO File | 1 | 42 | 45 | 116 |
SVG | 4 | 0 | 0 | 43 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/screenshot-2.png | 47.76KB | 16.86KB | ▼ 64.69% |
.wordpress-org/screenshot-1.png | 55.07KB | 19.87KB | ▼ 63.92% |
.wordpress-org/icon-128x128.png | 6.36KB | 2.99KB | ▼ 53.06% |
.wordpress-org/icon-256x256.png | 13.85KB | 6.10KB | ▼ 55.98% |