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
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.31ms] Passed 4 tests
A check of server-side resources used by NutsForPress Duplicate Any Post
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.37 ▲4.33 |
Dashboard /wp-admin | 3.42 ▲0.12 | 45.56 ▼1.29 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.40 ▼9.58 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.82 ▼5.64 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.14 ▲3.27 |
NutsForPress /wp-admin/admin.php?page=nfproot-settings | 3.31 | 29.89 |
Duplicate Any Posts /wp-admin/admin.php?page=nfpdap-settings | 3.34 | 32.64 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for NutsForPress Duplicate Any Post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲65 | 13.75 ▼0.69 | 1.83 ▼0.17 | 43.13 ▲1.83 |
Dashboard /wp-admin | 2,242 ▲51 | 4.84 ▼0.05 | 113.99 ▲11.40 | 42.59 ▼1.89 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.06 ▲0.07 | 42.15 ▲1.29 | 36.25 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 18.29 ▼4.70 | 608.47 ▲11.83 | 49.93 ▲1.54 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.26 ▲0.06 | 100.83 ▼1.51 | 40.51 ▼3.56 |
NutsForPress /wp-admin/admin.php?page=nfproot-settings | 809 | 2.09 | 24.67 | 27.69 |
Duplicate Any Posts /wp-admin/admin.php?page=nfpdap-settings | 859 | 2.07 | 24.78 | 28.26 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 13× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/admin/includes/nfpdap-add-duplication-link.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/admin/includes/nfpdap-duplication.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/root/nfproot-styles-and-scripts.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/includes/nfpdap-plugin-deactivate.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/root/nfproot-save-settings.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/root/nfproot-settings-structure.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/admin/nfpdap-settings-content.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/nuts-for-press-duplicate-any-posts.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/root/nfproot-settings.php
- > /wp-content/plugins/nutsforpress-duplicate-any-posts/includes/nfpdap-plugin-uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Requires php: Version format is invalid
nutsforpress-duplicate-any-posts/nuts-for-press-duplicate-any-posts.php 92% from 13 tests
The main PHP file in "NutsForPress Duplicate Any Post" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("nutsforpress-duplicate-any-posts.php" instead of "nuts-for-press-duplicate-any-posts.php")
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
Everything looks great! No dangerous files found in this plugin1,282 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 787 | 181 | 1,034 |
JavaScript | 2 | 97 | 50 | 136 |
CSS | 1 | 29 | 1 | 112 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
PNG images were not found in this plugin