Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.38ms] Passed 4 tests
Server-side resources used by WP Clone any post type
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 46.70 ▲1.67 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.26 ▲5.57 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 44.81 ▼0.56 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.85 ▼15.68 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.49 ▼2.95 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
WP Clone any post type: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲52 | 14.20 ▼0.08 | 1.86 ▼0.02 | 43.22 ▼0.84 |
Dashboard /wp-admin | 2,218 ▲38 | 5.65 ▼0.01 | 94.30 ▲3.98 | 42.73 ▲2.42 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.00 ▼0.00 | 34.73 ▼1.03 | 32.60 ▼5.44 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.12 ▼0.06 | 653.31 ▼19.41 | 61.20 ▼2.58 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.29 ▲0.11 | 96.25 ▼10.17 | 41.73 ▼4.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Requires at least: Version format is invalid
- Requires php: Version format is invalid
wp-clone-any-post-type/wp-clone-any-post-type.php 92% from 13 tests
The primary PHP file in "WP Clone any post type" version 3.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected403 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 57 | 35 | 293 |
CSS | 1 | 9 | 0 | 67 |
JavaScript | 1 | 4 | 2 | 43 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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
There were not PNG files found in your plugin