Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▼278.32ms] Passed 4 tests
Server-side resources used by Export 2 Multisite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.30 ▲13.89 |
Dashboard /wp-admin | 3.57 ▲0.52 | 44.62 ▲3.44 |
Posts /wp-admin/edit.php | 3.62 ▲0.51 | 45.37 ▲0.55 |
Add New Post /wp-admin/post-new.php | 5.87 ▲0.44 | 97.55 ▼1,112.67 |
Media Library /wp-admin/upload.php | 3.45 ▲0.45 | 35.46 ▼4.58 |
Export 2 Multisite /wp-admin/tools.php?page=e2wpms | 3.40 | 40.45 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 1 new option
New WordPress options |
---|
e2wpms_settings |
Browser metrics Passed 4 tests
A check of browser resources used by Export 2 Multisite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲101 | 16.19 ▲0.50 | 7.59 ▲0.02 | 51.10 ▲1.73 |
Dashboard /wp-admin | 3,003 ▲150 | 5.97 ▲0.14 | 133.35 ▲1.11 | 110.62 ▲5.13 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.70 ▲0.01 | 65.26 ▼2.31 | 91.58 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,656 ▼201 | 18.81 ▼0.40 | 368.01 ▲8.09 | 105.66 ▼2.46 |
Media Library /wp-admin/upload.php | 1,780 ▲8 | 4.99 ▼0.02 | 142.51 ▼2.47 | 111.82 ▼3.78 |
Export 2 Multisite /wp-admin/tools.php?page=e2wpms | 2,020 | 3.30 | 69.49 | 111.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 does not fully uninstall, leaving 1 option in the database
- e2wpms_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 12 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=e2wpms
- > Notice in wp-content/plugins/export-2-multisite/class/e2wpms.php+977
Undefined index: table_name
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=e2wpms
- > Notice in wp-content/plugins/export-2-multisite/class/e2wpms.php+1015
A non well formed numeric value encountered
- > GET request to /wp-admin/tools.php?page=e2wpms
- > Notice in wp-content/plugins/export-2-multisite/template/migrate.php+120
Undefined index: export-2-multisite
- > GET request to /wp-admin/tools.php?page=e2wpms
- > Notice in wp-content/plugins/export-2-multisite/template/migrate.php+120
Trying to access array offset on value of type null
SRP 0% from 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/export-2-multisite/template/help.php
- > /wp-content/plugins/export-2-multisite/template/addons.php
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/export-2-multisite/template/common/compatibility.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/export-2-multisite/template/migrate-progress.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/export-2-multisite/template/e2wpms/exclude-post-revisions.php on line 3
- > PHP Notice
Undefined variable: loaded_profile in wp-content/plugins/export-2-multisite/template/e2wpms/exclude-post-revisions.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/export-2-multisite/export-2-multisite.php:54
- > PHP Fatal error
Uncaught Error: Class 'E2WPMS_Base' not found in wp-content/plugins/export-2-multisite/class/e2wpms.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/export-2-multisite/template/e2wpms/wordpress-org-support.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/export-2-multisite/template/common/debug-info.php:2
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/export-2-multisite/template/e2wpms/exclude-post-revisions.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/export-2-multisite/template/e2wpms/exclude-post-revisions.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: export, migrate, database, multisite, mysql
export-2-multisite/export-2-multisite.php Passed 13 tests
The main PHP script in "Export 2 Multisite" version 0.2 is automatically included on every request by WordPress
97 characters long description:
Exports your database as a MySQL data dump that can be imported into a WP Multisite installation.
Code Analysis 97% from 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 detected6,314 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 571 | 241 | 2,626 |
JavaScript | 4 | 317 | 56 | 2,103 |
CSS | 1 | 11 | 26 | 1,585 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 108)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 142.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 108.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 106 | |
▷ Static methods | 1 | 0.94% |
▷ Public methods | 106 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected