Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/demomentsomtres-multisite-post-clone/demomentsomtres-multisite-post-clone.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; DeMomentSomTresMSPostClone has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼50.71ms] Passed 4 tests
This is a short check of server-side resources used by DeMomentSomTres Multisite Post Clone
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.79 ▼43.42 |
Dashboard /wp-admin | 2.10 ▼1.20 | 10.43 ▼36.81 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.69 ▼43.15 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.66 ▼79.47 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.72 ▼27.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for DeMomentSomTres Multisite Post Clone
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.15 ▼1.23 | 5.14 ▲3.03 | 39.72 ▼4.09 |
Dashboard /wp-admin | 2,206 ▲15 | 5.90 ▲1.04 | 106.23 ▼14.66 | 40.83 ▼5.29 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.02 | 40.98 ▲0.22 | 36.06 ▲0.13 |
Add New Post /wp-admin/post-new.php | 6,458 ▲4,924 | 20.38 ▼2.67 | 913.77 ▲302.18 | 54.95 ▼6.07 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.15 ▼0.09 | 98.06 ▼12.08 | 40.68 ▼5.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/demomentsomtres-multisite-post-clone/demomentsomtres-multisite-post-clone.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; DeMomentSomTresMSPostClone has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/demomentsomtres-multisite-post-clone/demomentsomtres-multisite-post-clone.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: network, multisite, post clone, multilanguage, seo
demomentsomtres-multisite-post-clone/demomentsomtres-multisite-post-clone.php Passed 13 tests
The main file in "DeMomentSomTres Multisite Post Clone" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
87 characters long description:
DeMomentSomTres Multisite Post Clone allows to clone a post in the sites of the network
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected153 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 48 | 95 |
PO File | 2 | 10 | 16 | 58 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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
There are no PNG files in this plugin