Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲5.14ms] Passed 4 tests
This is a short check of server-side resources used by Aggregator Advanced Settings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 47.31 ▲4.57 |
Dashboard /wp-admin | 3.53 ▲0.22 | 59.98 ▲9.19 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 54.58 ▲3.51 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 95.41 ▲3.30 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 45.76 ▲9.50 |
Advanced Settings /wp-admin/options-general.php?page=aggregator-options | 3.42 | 38.41 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_agg_widget_meta |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Aggregator Advanced Settings
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲143 | 13.37 ▼1.01 | 1.88 ▲0.05 | 30.53 ▼14.06 |
Dashboard /wp-admin | 2,251 ▲60 | 5.85 ▼0.03 | 101.57 ▼2.20 | 38.38 ▼8.17 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.04 ▲0.01 | 33.88 ▼1.00 | 34.46 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.34 ▲5.63 | 673.48 ▼23.86 | 52.96 ▼2.75 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.19 ▲0.01 | 95.92 ▼0.93 | 43.51 ▼3.65 |
Advanced Settings /wp-admin/options-general.php?page=aggregator-options | 952 | 2.15 | 24.71 | 47.44 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_agg_widget_meta
- widget_recent-comments
Smoke tests 75% 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 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aggregator-advanced-settings/agg-as-options.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/aggregator-advanced-settings/uninstall.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aggregator-advanced-settings/agg-as-widget-meta.php:7
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
No tags were detected
aggregator-advanced-settings/agg-advanced-settings.php 85% from 13 tests
"Aggregator Advanced Settings" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aggregator-advanced-settings.php" instead of "agg-advanced-settings.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,191 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 144 | 147 | 920 |
PO File | 1 | 90 | 91 | 215 |
CSS | 2 | 7 | 9 | 45 |
YAML | 1 | 4 | 4 | 11 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 40.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 1 | 1.96% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin