Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.63MB] [CPU: ▼5.06ms] Passed 4 tests
A check of server-side resources used by Doubly - Cross Domain Copy Paste for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.64 | 40.17 ▲1.36 |
Dashboard /wp-admin | 3.96 ▲0.61 | 49.59 ▼6.63 |
Posts /wp-admin/edit.php | 4.01 ▲0.66 | 45.57 ▼2.70 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.61 | 83.93 ▼12.25 |
Media Library /wp-admin/upload.php | 3.88 ▲0.65 | 40.52 ▲2.77 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 4.25 | 36.92 |
Server storage [IO: ▲3.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 253 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
fs_debug_mode |
fs_accounts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
fs_active_plugins |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Doubly - Cross Domain Copy Paste for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,685 ▲939 | 13.48 ▼0.89 | 9.79 ▲7.99 | 32.44 ▼9.77 |
Dashboard /wp-admin | 2,654 ▲474 | 5.66 ▲0.00 | 81.91 ▼4.13 | 72.69 ▲35.00 |
Posts /wp-admin/edit.php | 2,563 ▲460 | 2.15 ▲0.17 | 34.67 ▼4.55 | 35.89 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,936 ▲399 | 23.08 ▲4.84 | 751.76 ▲78.56 | 58.05 ▼12.27 |
Media Library /wp-admin/upload.php | 1,847 ▲444 | 4.31 ▲0.15 | 100.72 ▼15.39 | 83.03 ▲34.86 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,514 | 1.74 | 28.11 | 28.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/doubly/vendor/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- fs_accounts
- theysaidso_admin_options
- fs_debug_mode
- widget_recent-posts
- widget_theysaidso_widget
- fs_active_plugins
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
Almost there! Just fix the following items
- 27× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/doubly/inc_php/admin_notices.class.php
- > /wp-content/plugins/doubly/inc_php/functions.php
- > /wp-content/plugins/doubly/inc_php/settings_output.class.php
- > /wp-content/plugins/doubly/inc_php/object.class.php
- > /wp-content/plugins/doubly/views/welcome.php
- > /wp-content/plugins/doubly/inc_php/integrations.class.php
- > /wp-content/plugins/doubly/inc_php/front.class.php
- > /wp-content/plugins/doubly/inc_php/settings_output_wide.class.php
- > /wp-content/plugins/doubly/inc_php/exporter.class.php
- > /wp-content/plugins/doubly/inc_php/functions_wp.class.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
doubly/doubly.php Passed 13 tests
The main file in "Doubly - Cross Domain Copy Paste for WordPress" v. 1.0.44 serves as a complement to information provided in readme.txt and as the entry point to the plugin
72 characters long description:
Copy, Paste, Export, Import pages and elementor sections between domains
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin52,572 lines of code in 204 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 14,481 | 20,267 | 44,000 |
JavaScript | 8 | 2,971 | 1,246 | 5,225 |
CSS | 16 | 599 | 31 | 2,684 |
SVG | 30 | 1 | 19 | 406 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 88.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 2 | 2.74% |
▷ Concrete classes | 71 | 97.26% |
▷ Final classes | 0 | 0.00% |
Methods | 1,995 | |
▷ Static methods | 452 | 22.66% |
▷ Public methods | 1,288 | 64.56% |
▷ Protected methods | 102 | 5.11% |
▷ Private methods | 605 | 30.33% |
Functions | 100 | |
▷ Named functions | 100 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 281 | |
▷ Global constants | 101 | 35.94% |
▷ Class constants | 180 | 64.06% |
▷ Public constants | 180 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
vendor/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |