Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.89ms] Passed 4 tests
Analyzing server-side resources used by CMS2CMS Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.02 ▼3.90 |
Dashboard /wp-admin | 3.37 ▲0.06 | 51.06 ▼5.26 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.40 ▼20.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.22 ▼5.84 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 42.48 ▲0.61 |
CMS2CMS Connector /wp-admin/tools.php?page=cms2cms-connector | 3.34 | 36.79 |
Server storage [IO: ▲7.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 63 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_cms2cms_connector_options |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CMS2CMS Connector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲29 | 13.57 ▼0.84 | 2.14 ▲0.29 | 44.99 ▼4.32 |
Dashboard /wp-admin | 2,210 ▲4 | 4.82 ▼0.01 | 112.85 ▲5.11 | 45.15 ▲0.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.00 | 38.45 ▲5.34 | 34.54 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.01 ▼0.43 | 725.96 ▼10.16 | 52.97 ▼6.69 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▲0.02 | 106.79 ▼2.98 | 45.42 ▼1.93 |
CMS2CMS Connector /wp-admin/tools.php?page=cms2cms-connector | 1,228 | 2.40 | 50.55 | 84.14 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cms2cms-connector/cms2cms-connector.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (27 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cms2cms-connector/cms2cms-connector.php Passed 13 tests
The main file in "CMS2CMS Connector" v. 3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
85 characters long description:
Universal WordPress migration plugin for super-fast and fully automated website move.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin48,956 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 8,384 | 151 | 36,296 |
JavaScript | 8 | 3,531 | 1,644 | 11,960 |
PHP | 5 | 108 | 182 | 700 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 97.62% |
▷ Protected methods | 1 | 2.38% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.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
9 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/cms2cms-logo.png | 12.15KB | 5.83KB | ▼ 51.97% |
includes/img/cms2cms-steps-icons-new.png | 5.78KB | 2.90KB | ▼ 49.92% |
includes/img/cms2cms-packages.png | 26.59KB | 8.28KB | ▼ 68.85% |
includes/img/package.png | 6.86KB | 6.01KB | ▼ 12.48% |
includes/img/cms2cms-steps-icons.png | 5.81KB | 4.46KB | ▼ 23.34% |