Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.25ms] Passed 4 tests
A check of server-side resources used by CGA Plugin Helper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.72 ▲0.47 |
Dashboard /wp-admin | 3.38 ▲0.08 | 58.32 ▲7.71 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.65 ▼3.22 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.82 ▼17.51 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.26 ▼0.72 |
Whatever You Want /wp-admin/admin.php?page=plugin-searcher | 3.27 | 32.09 |
Whatever You Want /wp-admin/admin.php?page=plugin-selector | 3.36 | 35.68 |
Whatever You Want /wp-admin/admin.php?page=plugin-upgrade | 3.28 | 34.61 |
Whatever You Want /wp-admin/admin.php?page=plugin-exporter | 3.28 | 32.84 |
Whatever You Want /wp-admin/admin.php?page=plugin-done | 3.30 | 29.82 |
Whatever You Want /wp-admin/admin.php?page=plugin-installer-sub | 3.25 | 33.61 |
Whatever You Want /wp-admin/admin.php?page=plugin-activate | 3.25 | 32.38 |
Whatever You Want /wp-admin/admin.php?page=plugin-installer-main | 3.26 | 33.23 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for CGA Plugin Helper
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.37 ▲0.02 | 1.77 ▲0.19 | 43.31 ▼1.88 |
Dashboard /wp-admin | 2,211 ▲34 | 5.57 ▼0.09 | 83.07 ▼6.90 | 36.45 ▼8.40 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.00 ▼0.02 | 36.08 ▼1.50 | 36.17 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.00 ▲0.02 | 620.78 ▼63.54 | 60.94 ▲5.52 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.12 ▼0.06 | 100.78 ▼15.44 | 44.22 ▼3.91 |
Whatever You Want /wp-admin/admin.php?page=plugin-searcher | 847 | 1.99 | 21.71 | 27.02 |
Whatever You Want /wp-admin/admin.php?page=plugin-selector | 1,673 | 2.01 | 37.06 | 42.19 |
Whatever You Want /wp-admin/admin.php?page=plugin-upgrade | 2,141 | 3.37 | 31.90 | 35.48 |
Whatever You Want /wp-admin/admin.php?page=plugin-exporter | 846 | 1.99 | 22.77 | 29.47 |
Whatever You Want /wp-admin/admin.php?page=plugin-done | 796 | 2.02 | 22.48 | 25.22 |
Whatever You Want /wp-admin/admin.php?page=plugin-installer-sub | 773 | 2.02 | 24.48 | 22.34 |
Whatever You Want /wp-admin/admin.php?page=plugin-activate | 1,475 | 2.30 | 26.81 | 31.91 |
Whatever You Want /wp-admin/admin.php?page=plugin-installer-main | 2,797 | 3.79 | 36.79 | 37.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=plugin-installer-main
- > Warning in wp-content/plugins/cga-plugin-helper/cgaph-activate-plugin.php+15
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cga-plugin-helper/plugin-helper.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Requires php: Version not formatted correctly
cga-plugin-helper/plugin-helper.php 85% from 13 tests
"CGA Plugin Helper" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cga-plugin-helper.php" instead of "plugin-helper.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
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 plugin996 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 31 | 57 | 848 |
PO File | 1 | 46 | 59 | 148 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected