Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.81ms] Passed 4 tests
An overview of server-side resources used by AEIOU
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.97 ▼5.49 |
Dashboard /wp-admin | 3.40 ▲0.09 | 49.91 ▼1.33 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.08 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.25 ▼20.81 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.32 ▲1.39 |
AEIOU /wp-admin/users.php?page=aeiou | 3.37 | 32.98 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
AEIOU: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.58 ▼0.97 | 2.23 ▼0.12 | 40.91 ▼1.67 |
Dashboard /wp-admin | 2,213 ▲31 | 4.84 ▼0.97 | 99.77 ▼16.38 | 39.78 ▼5.95 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.03 | 35.08 ▲0.06 | 32.72 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 22.94 ▲5.37 | 658.64 ▼30.09 | 52.03 ▲0.17 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▲0.02 | 95.92 ▼2.21 | 40.45 ▼6.02 |
AEIOU /wp-admin/users.php?page=aeiou | 1,129 | 2.31 | 37.76 | 61.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aeiou/index.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
aeiou/index.php 85% from 13 tests
Analyzing the main PHP file in "AEIOU" version 0.7
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 259 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("aeiou.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin737 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 143 | 128 | 548 |
PO File | 2 | 84 | 92 | 189 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 48.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 6.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 9 | 56.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 43.75% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected