Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼136.88ms] Passed 4 tests
Server-side resources used by Clone Screen Options
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 34.64 ▲9.01 |
Dashboard /wp-admin | 3.10 ▲0.05 | 46.92 ▲4.45 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 48.35 ▲4.10 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 89.79 ▼557.30 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 36.13 ▲1.23 |
Clone Screen Options /wp-admin/tools.php?page=clone_screen_options | 3.01 | 30.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Clone Screen Options
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.89 ▲0.37 | 14.39 ▲4.66 | 51.26 ▲2.90 |
Dashboard /wp-admin | 2,964 ▲33 | 5.94 ▼0.02 | 152.21 ▲15.05 | 113.91 ▲6.23 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.02 | 63.17 ▼6.85 | 88.29 ▲7.03 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.45 ▼0.29 | 418.02 ▼29.54 | 116.05 ▲4.06 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.01 ▼0.02 | 168.60 ▲4.67 | 114.54 ▲3.85 |
Clone Screen Options /wp-admin/tools.php?page=clone_screen_options | 1,223 | 2.11 | 56.76 | 72.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clone-screen-options/clone-screen-options.php:310
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in clone-screen-options/assets to your readme.txt
- Donate link: Invalid URI ("")
clone-screen-options/clone-screen-options.php Passed 13 tests
The main PHP file in "Clone Screen Options" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
89 characters long description:
This plugin will let you clone screen options from one user to another user or user role.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin265 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 22 | 265 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 5.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 images were found in this plugin