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.08MB] [CPU: ▼10.76ms] Passed 4 tests
Server-side resources used by WP Duplicate Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.18 ▼3.53 |
Dashboard /wp-admin | 3.40 ▲0.05 | 49.95 ▼8.89 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.83 ▼22.64 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 95.14 ▼7.97 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.76 ▲2.19 |
Duplicate Page /wp-admin/options-general.php?page=njt-duplicate-settings | 3.31 | 36.36 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Duplicate Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.31 ▼0.99 | 1.92 ▼0.16 | 45.22 ▼0.92 |
Dashboard /wp-admin | 2,210 ▲19 | 4.88 ▼0.04 | 106.29 ▲1.42 | 40.31 ▼3.03 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.02 ▼0.03 | 38.56 ▼44.39 | 36.09 ▼50.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▲13 | 23.34 ▲0.14 | 679.72 ▲42.00 | 62.28 ▲2.09 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.00 | 105.70 ▼3.56 | 47.73 ▼1.12 |
Duplicate Page /wp-admin/options-general.php?page=njt-duplicate-settings | 1,028 | 2.19 | 27.41 | 69.62 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: duplicate post, wordpress copy page, clone page, duplicate page, clone post
wp-duplicate-page/wp-duplicate-page.php 92% from 13 tests
The main PHP file in "WP Duplicate Page" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin968 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 93 | 49 | 578 |
CSS | 1 | 7 | 3 | 336 |
JavaScript | 1 | 3 | 0 | 54 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 9 | 28.12% |
▷ Public methods | 23 | 71.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 28.12% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There are no PNG files in this plugin