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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.09ms] Passed 4 tests
Analyzing server-side resources used by CS Multiple Image Import
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.26 ▼1.67 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.30 ▼0.38 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.37 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 89.38 ▼10.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 35.01 ▲1.93 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
CS Multiple Image Import: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲84 | 13.33 ▼0.97 | 4.72 ▲2.38 | 45.93 ▼0.62 |
Dashboard /wp-admin | 2,222 ▲34 | 5.89 ▲0.95 | 103.59 ▼6.56 | 37.38 ▼11.73 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▼0.01 | 39.31 ▼2.04 | 33.04 ▼3.63 |
Add New Post /wp-admin/post-new.php | 1,555 ▲12 | 18.56 ▼4.81 | 638.17 ▼51.40 | 64.70 ▲3.71 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.20 ▼0.05 | 98.07 ▼4.92 | 41.60 ▼2.02 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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)
Even though everything seems fine, this is not 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
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/cs-multiple-image-import/includes/classes/CSMIISpreadsheetReaderXLSX.php on line 456
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/cs-multiple-image-import/includes/classes/CSMIISpreadsheetReaderXLSX.php on line 581
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/cs-multiple-image-import/includes/classes/CSMIISpreadsheetReaderXLSX.php on line 1049
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/cs-multiple-image-import/includes/classes/CSMIISpreadsheetReaderXLSX.php on line 1083
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add a description for screenshot #1 in cs-multiple-image-import/assets to your readme.txt
cs-multiple-image-import/cs-multiple-image-import.php 92% from 13 tests
This is the main PHP file of "CS Multiple Image Import" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,847 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 308 | 596 | 1,847 |
PHP code Passed 2 tests
A short 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.52 |
Average class complexity | 56.83 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 6.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 3 | 4.62% |
▷ Public methods | 61 | 93.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 6 | 35.29% |
▷ Class constants | 11 | 64.71% |
▷ Public constants | 11 | 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
There were not PNG files found in your plugin