Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.30ms] Passed 4 tests
A check of server-side resources used by azurecurve Insult Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.87 ▲0.96 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.11 ▼4.46 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 48.61 ▼3.29 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 85.41 ▼6.39 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 39.74 ▲4.03 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.32 | 30.03 |
Insult Generator /wp-admin/admin.php?page=azc-ig | 3.32 | 34.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for azurecurve Insult Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲59 | 13.30 ▼1.06 | 1.85 ▼0.29 | 40.80 ▼8.23 |
Dashboard /wp-admin | 2,219 ▲31 | 5.88 ▲0.03 | 100.02 ▼16.96 | 82.16 ▲39.14 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.14 ▲0.15 | 34.27 ▼3.43 | 31.71 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 22.95 ▲5.38 | 739.31 ▲28.31 | 53.59 ▼7.41 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.26 ▲0.05 | 111.52 ▲3.45 | 83.64 ▲35.99 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 829 | 2.05 | 26.94 | 32.28 |
Insult Generator /wp-admin/admin.php?page=azc-ig | 836 | 2.01 | 26.51 | 28.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-insult-generator/includes/menu.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-insult-generator/includes/menu.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: classicpress, medieval, insult, shortcode, wordpress...
azurecurve-insult-generator/azurecurve-insult-generator.php Passed 13 tests
The entry point to "azurecurve Insult Generator" version 2.0.1 is a PHP file that has certain tags in its header comment area
79 characters long description:
Shortcodes which allow user to generate and display modern or medieval insults.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin347 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 26 | 317 |
CSS | 2 | 0 | 4 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |