Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.19ms] Passed 4 tests
Analyzing server-side resources used by wp360.pro Duplicate Post Meta
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.70 ▲0.59 |
Dashboard /wp-admin | 3.34 ▲0.04 | 53.23 ▲1.78 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.76 ▼7.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.92 ▼19.29 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.26 ▲3.20 |
/wp-admin/admin.php?page=wp360.pro-duplicate-post-meta | 3.23 | 34.41 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/duplicate-post-meta/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for wp360.pro Duplicate Post Meta
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.18 ▼0.81 | 1.69 ▼0.14 | 43.87 ▲3.33 |
Dashboard /wp-admin | 2,221 ▲18 | 4.89 ▼0.99 | 107.04 ▼10.78 | 42.10 ▼1.09 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▼0.02 | 34.57 ▼6.07 | 37.82 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 17.69 ▲0.12 | 697.93 ▲4.57 | 56.22 ▲1.82 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▼0.04 | 105.24 ▼13.67 | 46.84 ▼2.60 |
/wp-admin/admin.php?page=wp360.pro-duplicate-post-meta | 762 | 2.06 | 25.02 | 25.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 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 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
The SRP test was a success
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 errors were detected
Optimizations
Plugin configuration 87% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (While editing post click button to select source post), #2 (Select post to copy from and click next), #3 (Select post meta from list to copy.)
- Plugin Name: Please specify the plugin name on the first line (
=== duplicate-post-meta ===
)
duplicate-post-meta/wp360.pro-duplicate-post-meta.php 85% from 13 tests
The primary PHP file in "wp360.pro Duplicate Post Meta" version 0.0.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("duplicate-post-meta.php" instead of "wp360.pro-duplicate-post-meta.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
Success! There were no dangerous files found in this plugin165 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 12 | 146 |
JavaScript | 1 | 1 | 0 | 11 |
JSON | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 5.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 44.39KB | 18.36KB | ▼ 58.64% |
screenshot-2.png | 11.77KB | 5.41KB | ▼ 54.02% |
screenshot-3.png | 14.89KB | 6.22KB | ▼ 58.20% |