Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.89ms] Passed 4 tests
A check of server-side resources used by Large CSV Import Handler
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 33.67 ▼7.67 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.56 ▼4.20 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 47.91 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.27 ▲0.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.17 ▲0.07 |
CSV Import /wp-admin/admin.php?page=large-csv-import-handler | 3.25 | 37.82 |
Settings /wp-admin/admin.php?page=large-csv-import-handler-settings | 3.25 | 32.48 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
lcih_csv_delimiter |
theysaidso_admin_options |
widget_theysaidso_widget |
lcih_csv_escape |
widget_recent-comments |
widget_recent-posts |
lcih_csv_enclosure |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Large CSV Import Handler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.18 ▼0.99 | 5.88 ▲4.06 | 41.64 ▼4.49 |
Dashboard /wp-admin | 2,236 ▲48 | 5.85 ▲0.89 | 97.54 ▼17.72 | 82.11 ▲36.91 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.03 ▲0.02 | 38.24 ▲4.69 | 33.69 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,554 ▲18 | 18.10 ▼4.89 | 710.05 ▲79.25 | 59.67 ▲7.70 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.14 ▼0.07 | 99.70 ▼2.70 | 67.65 ▲24.73 |
CSV Import /wp-admin/admin.php?page=large-csv-import-handler | 838 | 2.07 | 25.66 | 28.76 |
Settings /wp-admin/admin.php?page=large-csv-import-handler-settings | 848 | 1.70 | 29.23 | 28.47 |
Uninstaller [IO: ▲0.00MB] [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
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- lcih_csv_enclosure
- theysaidso_admin_options
- widget_theysaidso_widget
- lcih_csv_escape
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- lcih_csv_delimiter
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/large-csv-import-handler/large-csv-import-handler.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=large-csv-import-handler
- > Network (severe)
https://www.paypalobjects.com/ru_RU/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== large-csv-import-handler ===
)
large-csv-import-handler/large-csv-import-handler.php 92% from 13 tests
"Large CSV Import Handler" version 0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected279 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 11 | 217 |
CSS | 1 | 4 | 0 | 31 |
JavaScript | 1 | 2 | 0 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 15.31KB | 1.00KB | ▼ 93.48% |