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.01MB] [CPU: ▼6.86ms] Passed 4 tests
This is a short check of server-side resources used by Blog Settings
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.52 ▲0.51 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.64 ▲0.57 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.90 ▼11.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.56 ▼14.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.44 ▼2.00 |
Add Option /wp-admin/admin.php?page=wp_options_form | 3.18 | 31.39 |
WP Options /wp-admin/admin.php?page=wp_options | 3.22 | 37.79 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Blog Settings
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲81 | 13.74 ▼0.65 | 2.00 ▼0.23 | 42.81 ▼2.59 |
Dashboard /wp-admin | 2,245 ▲39 | 5.85 ▲0.95 | 109.20 ▲7.76 | 40.75 ▲1.20 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.02 ▲0.00 | 40.09 ▼1.27 | 34.61 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,567 ▲13 | 23.41 ▲5.41 | 684.62 ▼1.55 | 69.42 ▲10.83 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.30 ▲0.03 | 98.97 ▼8.24 | 42.69 ▼7.58 |
Add Option /wp-admin/admin.php?page=wp_options_form | 935 | 2.02 | 26.24 | 32.97 |
WP Options /wp-admin/admin.php?page=wp_options | 1,509 | 2.06 | 24.00 | 35.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wp_options_form
- > Notice in wp-content/plugins/blog-settings/blog-settings.php+197
Undefined index: nonce
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/blog-settings/blog-settings.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/blog-settings/blog-settings.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/blog-settings/blog-settings.php on line 10
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Donate link: Invalid URI ("(a link for donating)")
- Plugin Name: You should set the name of your plugin on the first line (
=== blog-settings ===
)
blog-settings/blog-settings.php Passed 13 tests
The principal PHP file in "Blog Settings" v. 1.0 is loaded by WordPress automatically on each request
123 characters long description:
Configure Wordpress Options Saved in Database. Add a new options or update existing one even you're a non technical person.
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 detected271 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 6 | 271 |
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.33 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected