Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/copy-me/includes/class_copier.php+5
Methods with the same name as their class will not be constructors in a future version of PHP; S2S_copier has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼54.28ms] Passed 4 tests
A check of server-side resources used by copy-me
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.66 ▼35.31 |
Dashboard /wp-admin | 2.18 ▼1.12 | 6.08 ▼40.40 |
Posts /wp-admin/edit.php | 2.18 ▼1.17 | 8.36 ▼41.63 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.70 | 5.44 ▼99.78 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.63 ▼29.41 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
recovery_mode_email_last_sent |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
copy-me: 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,804 ▲69 | 13.28 ▼1.00 | 4.65 ▲2.92 | 47.67 ▲3.17 |
Dashboard /wp-admin | 2,210 ▲25 | 5.80 ▼0.10 | 100.51 ▲2.72 | 40.00 ▼6.99 |
Posts /wp-admin/edit.php | 1,224 ▼865 | 1.37 ▼0.63 | 8.66 ▼31.76 | 29.03 ▼5.93 |
Add New Post /wp-admin/post-new.php | 1,518 ▲4 | 23.12 ▲5.67 | 648.72 ▼39.33 | 56.29 ▲3.60 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.13 | 94.98 ▼2.93 | 44.71 ▼1.01 |
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
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/copy-me/includes/class_copier.php+5
Methods with the same name as their class will not be constructors in a future version of PHP; S2S_copier has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- widget_recent-comments
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/copy-me/copy-me.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: copy content, copy posts, multisite
copy-me/copy-me.php Passed 13 tests
The principal PHP file in "copy-me" v. 1.0.0 is loaded by WordPress automatically on each request
100 characters long description:
copy-me allows you to copy a post, page or custom post type to another site in a Wordpress multisite
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
There were no executable files found in this plugin403 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 135 | 43 | 339 |
JavaScript | 1 | 6 | 0 | 43 |
CSS | 1 | 4 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 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 are no PNG files in this plugin