Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.47ms] Passed 4 tests
This is a short check of server-side resources used by FV Clone Screen Options
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.55 ▼5.08 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.75 ▼0.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.44 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.83 ▲1.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.85 ▲2.21 |
Clone Screen Options /wp-admin/tools.php?page=fv_screen_options_manage | 3.27 | 52.96 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by FV Clone Screen Options
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.20 | 1.64 ▼0.13 | 37.01 ▼7.98 |
Dashboard /wp-admin | 2,207 ▲22 | 4.84 ▼1.04 | 109.19 ▼10.67 | 44.79 ▲1.77 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▲0.01 | 38.89 ▲2.83 | 35.57 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.62 ▼5.52 | 617.18 ▼49.09 | 56.59 ▲3.71 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.16 ▼0.02 | 96.37 ▼1.82 | 42.42 ▼2.27 |
Clone Screen Options /wp-admin/tools.php?page=fv_screen_options_manage | 770 | 2.06 | 24.79 | 23.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fv-clone-screen-options/fv-screen-options.php:77
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (FV Clone Screen Options in your Wordpress menu), #2 (FV Clone Screen Options screen), #3 (Here's how you set your own Screen Options which you are able to clone to other users)
fv-clone-screen-options/fv-screen-options.php 92% from 13 tests
The primary PHP file in "FV Clone Screen Options" version 0.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fv-clone-screen-options.php" instead of "fv-screen-options.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin141 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 42 | 138 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
A short review 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.47 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 6.74KB | 3.17KB | ▼ 52.89% |
screenshot-3.png | 64.86KB | 23.04KB | ▼ 64.47% |
screenshot-2.png | 14.72KB | 7.36KB | ▼ 50.01% |