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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.24ms] Passed 4 tests
This is a short check of server-side resources used by Clone Test DB
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.33 ▼4.61 |
Dashboard /wp-admin | 3.34 ▼0.00 | 46.90 ▼17.36 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.00 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.72 ▼11.76 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.71 ▲4.56 |
Clone Test DB /wp-admin/tools.php?page=clone_test_db | 3.25 | 34.48 |
Server storage [IO: ▲0.04MB] [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: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Clone Test DB
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.38 ▼0.11 | 1.68 ▲0.02 | 38.95 ▼4.07 |
Dashboard /wp-admin | 2,199 ▲28 | 5.56 ▼0.11 | 83.67 ▼14.69 | 37.49 ▼4.97 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.03 ▲0.05 | 39.25 ▲0.26 | 35.13 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,541 ▲16 | 23.38 ▲0.28 | 608.75 ▼56.66 | 56.35 ▲0.00 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.16 ▼0.03 | 93.73 ▼5.63 | 39.81 ▼2.03 |
Clone Test DB /wp-admin/tools.php?page=clone_test_db | 914 | 1.99 | 21.95 | 37.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/clone-test-db/clone-test-db.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
Attributes that require attention:
- Screenshots: Screenshot #1 (This is the initial screen.) image missing
- Donate link: Invalid url: ""
clone-test-db/clone-test-db.php Passed 13 tests
"Clone Test DB" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
71 characters long description:
Duplicate the table in another database and optimize it as a test site.
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
No dangerous file extensions were detected313 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 45 | 210 |
CSS | 1 | 2 | 1 | 54 |
PO File | 1 | 14 | 16 | 49 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 7.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.68KB | 10.28KB | ▼ 59.99% |