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: ▲1.38MB] [CPU: ▲7.13ms] Passed 4 tests
An overview of server-side resources used by Easy CSV Importer BETA
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.40 | 58.21 ▲14.87 |
Dashboard /wp-admin | 4.72 ▲1.38 | 60.73 ▼2.65 |
Posts /wp-admin/edit.php | 4.77 ▲1.42 | 54.07 ▲10.41 |
Add New Post /wp-admin/post-new.php | 7.26 ▲1.37 | 101.91 ▲5.89 |
Media Library /wp-admin/upload.php | 4.59 ▲1.36 | 51.59 ▲20.48 |
Flag Item /wp-admin/post-new.php?post_type=easycsvimporterflags | 4.78 | 58.51 |
All Content Templates /wp-admin/edit.php?post_type=wtgcsvcontent | 4.69 | 48.09 |
All Flags /wp-admin/edit.php?post_type=easycsvimporterflags | 4.69 | 44.17 |
Create /wp-admin/post-new.php?post_type=wtgcsvcontent | 4.77 | 61.61 |
Server storage [IO: ▲4.15MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 188 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ecsvi_adminset |
ecsvi_tabmenu |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
ecsvi_file_profiles |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy CSV Importer BETA
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲124 | 13.34 ▼1.04 | 1.96 ▼0.03 | 56.91 ▲12.52 |
Dashboard /wp-admin | 2,276 ▲85 | 5.83 ▲0.98 | 102.14 ▼1.45 | 39.43 ▲1.08 |
Posts /wp-admin/edit.php | 2,159 ▲73 | 1.99 ▲0.00 | 34.81 ▼1.38 | 34.89 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,573 ▲59 | 17.60 ▲0.08 | 614.75 ▼82.50 | 48.02 ▼10.10 |
Media Library /wp-admin/upload.php | 1,461 ▲73 | 4.29 ▲0.06 | 96.47 ▼6.77 | 41.50 ▼6.31 |
Flag Item /wp-admin/post-new.php?post_type=easycsvimporterflags | 2,823 | 7.83 | 183.58 | 72.29 |
All Content Templates /wp-admin/edit.php?post_type=wtgcsvcontent | 1,102 | 1.99 | 32.05 | 29.64 |
All Flags /wp-admin/edit.php?post_type=easycsvimporterflags | 1,120 | 1.99 | 29.95 | 32.69 |
Create /wp-admin/post-new.php?post_type=wtgcsvcontent | 2,307 | 7.60 | 161.10 | 56.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- ecsvi_tabmenu
- ecsvi_file_profiles
- widget_recent-posts
- ecsvi_adminset
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-csv-importer/wtg-core/wp/css/index.php
- > /wp-content/plugins/easy-csv-importer/index.php
- > /wp-content/plugins/easy-csv-importer/pages/index.php
- > /wp-content/plugins/easy-csv-importer/include/variables/index.php
- > /wp-content/plugins/easy-csv-importer/pages/pagemain/index.php
- > /wp-content/plugins/easy-csv-importer/pages/postprojects/ecsvi_data.php
- > /wp-content/plugins/easy-csv-importer/wtg-core/wp/script/phpajax/wtgcsv_ajax_username_availablecheck.php
- > /wp-content/plugins/easy-csv-importer/pages/pagemain/ecsvi_about.php
- > /wp-content/plugins/easy-csv-importer/include/index.php
- 55× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function ecsvi_WP_SETTINGS_get_version() in wp-content/plugins/easy-csv-importer/pages/pagemain/ecsvi_main.php:26
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/easy-csv-importer/pages/postprojects/ecsvi_data.php on line 238
- > PHP Warning
Use of undefined constant WTG_ECI_NAME - assumed 'WTG_ECI_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-csv-importer/pages/pagemain/ecsvi_main.php on line 6
- > PHP Notice
Undefined variable: side in wp-content/plugins/easy-csv-importer/wtg-core/wp/css/wtgcore_css_parent.php on line 61
- > PHP Warning
Use of undefined constant WTG_ECI_DIR - assumed 'WTG_ECI_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-csv-importer/pages/ecsvi_variables_tabmenu_array.php on line 9
- > PHP Notice
Undefined variable: ecsvi_is_free in wp-content/plugins/easy-csv-importer/pages/pagemain/ecsvi_install.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function ecsvi_form_installpackage() in wp-content/plugins/easy-csv-importer/wtg-core/wp/wtgcore_wp_formsubmit.php:10
- > PHP Notice
Undefined variable: panel_number in wp-content/plugins/easy-csv-importer/pages/pagemain/ecsvi_datasources.php on line 2
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/easy-csv-importer/pages/postprojects/ecsvi_data.php on line 166
- > PHP Warning
Use of undefined constant WTG_ECI_DIR - assumed 'WTG_ECI_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-csv-importer/pages/ecsvi_variables_tabmenu_array.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== easy-csv-importer ===
) - Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7 in easy-csv-importer/assets to your readme.txt
easy-csv-importer/easy-csv-importer.php Passed 13 tests
"Easy CSV Importer BETA" version 7.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
109 characters long description:
Easy CSV Importer is the easiest data importer for Wordpress while still providing the most advanced features
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin30,251 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 50 | 3,828 | 3,437 | 18,050 |
PHP | 64 | 2,959 | 3,739 | 11,111 |
CSS | 10 | 138 | 220 | 1,090 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 444 | |
▷ Named functions | 444 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
48 PNG files occupy 2.36MB with 1.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wtg-core/images/success_large.png | 63.58KB | 5.66KB | ▼ 91.09% |
wtg-core/images/warning_large.png | 52.42KB | 4.12KB | ▼ 92.14% |
wtg-core/images/add_extra.png | 131.39KB | 14.75KB | ▼ 88.77% |
wtg-core/images/multi-select/download.png | 0.29KB | 0.18KB | ▼ 37.46% |
wtg-core/wp/css/jquerythemes/start/images/ui-bg_flat_55_999999_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |