Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▲1.90ms] Passed 4 tests
An overview of server-side resources used by Options Framework
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 47.22 ▲3.57 |
Dashboard /wp-admin | 3.49 ▲0.18 | 53.23 ▲0.99 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 56.49 ▲6.60 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.18 | 90.62 ▼3.56 |
Media Library /wp-admin/upload.php | 3.42 ▲0.18 | 43.59 ▲9.12 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
optionsframework |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Options Framework
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼0 | 13.29 ▼1.11 | 5.57 ▲3.59 | 42.93 ▼0.59 |
Dashboard /wp-admin | 2,203 ▼6 | 5.79 ▲0.95 | 104.32 ▼13.97 | 41.59 ▼0.17 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▲0.02 | 40.55 ▲4.16 | 36.10 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.25 ▲4.72 | 689.45 ▲64.65 | 53.00 ▼17.77 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.08 ▼0.12 | 106.06 ▲5.61 | 47.85 ▲4.36 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- optionsframework
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/options-framework/includes/class-options-sanitization.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (An example of the "Advanced Options" tab in the "Options Check" theme using this plugin.) image missing
options-framework/options-framework.php Passed 13 tests
"Options Framework" version 1.8.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
39 characters long description:
A framework for building theme options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,406 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 12 | 553 | 646 | 1,215 |
PHP | 6 | 233 | 480 | 882 |
CSS | 1 | 7 | 4 | 215 |
JavaScript | 2 | 32 | 24 | 94 |
PHP code Passed 2 tests
An short overview of 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.36 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 6.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 5 | 22.73% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.02MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 20.14KB | 20.26KB | 0.00% |
images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |