Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.13ms] Passed 4 tests
Server-side resources used by Aweber Params Shortcode - Schogini
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.58 ▼8.23 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.40 ▼19.55 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.78 ▼2.56 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.67 ▼14.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.81 ▲1.27 |
Aweber Params /wp-admin/options-general.php?page=aweber-params | 3.20 | 30.82 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Aweber Params Shortcode - Schogini
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.69 ▲0.54 | 1.76 ▼0.45 | 39.82 ▼2.20 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▲0.02 | 89.47 ▼2.88 | 38.02 ▼2.78 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.03 | 39.86 ▼0.60 | 36.23 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.22 ▲0.01 | 615.95 ▼62.36 | 51.83 ▼8.72 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.02 | 95.78 ▼15.60 | 43.19 ▼9.58 |
Aweber Params /wp-admin/options-general.php?page=aweber-params | 848 | 2.00 | 24.92 | 25.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=aweber-params
- > Notice in wp-content/plugins/aweber-params-shortcode/aweber_params.php+74
Undefined index: awber_params_hidden
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aweber-params-shortcode/aweber_params.php:64
- > 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 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== aweber-params-shortcode ===
)
aweber-params-shortcode/aweber_params.php 92% from 13 tests
This is the main PHP file of "Aweber Params Shortcode - Schogini" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("aweber-params-shortcode.php" instead of "aweber_params.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin119 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 50 | 119 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 4 | |
▷ Named functions | 4 | 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 images were found in this plugin