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.44MB] [CPU: ▼1.00ms] Passed 4 tests
Server-side resources used by Imageshop DAM Connector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 45.65 ▼7.93 |
Dashboard /wp-admin | 3.78 ▲0.43 | 52.35 ▼11.51 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 70.14 ▲16.48 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 104.82 ▲8.43 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 47.82 ▲7.03 |
Imageshop DAM /wp-admin/options-general.php?page=imageshop-settings | 3.62 | 45.38 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Imageshop DAM Connector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 16.60 ▲2.02 | 1.83 ▼0.45 | 40.74 ▼13.50 |
Dashboard /wp-admin | 2,267 ▲79 | 6.98 ▲1.98 | 229.07 ▲119.96 | 42.48 ▲0.99 |
Posts /wp-admin/edit.php | 2,167 ▲75 | 6.43 ▲4.44 | 73.37 ▲28.75 | 29.35 ▼7.15 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 18.26 ▼5.15 | 602.54 ▼106.22 | 37.91 ▼17.06 |
Media Library /wp-admin/upload.php | 1,463 ▲75 | 8.63 ▲4.40 | 125.99 ▲13.75 | 47.54 ▲0.14 |
Imageshop DAM /wp-admin/options-general.php?page=imageshop-settings | 992 | 5.96 | 58.20 | 34.93 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI' not found in wp-content/plugins/imageshop-dam-connector/includes/CLI/class-duplicates.php:293
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI' not found in wp-content/plugins/imageshop-dam-connector/includes/CLI/class-meta.php:222
- > PHP Fatal error
Uncaught Error: Class 'Imageshop\\WordPress\\REST_Controller' not found in wp-content/plugins/imageshop-dam-connector/admin/settings-page.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI' not found in wp-content/plugins/imageshop-dam-connector/includes/CLI/class-media.php:226
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: Contributors not specified
imageshop-dam-connector/imageshop-dam-connector.php 92% from 13 tests
This is the main PHP file of "Imageshop DAM Connector" version 1.0.4, 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:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected3,523 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 738 | 929 | 3,121 |
JavaScript | 3 | 50 | 30 | 343 |
CSS | 4 | 12 | 0 | 58 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 35.82 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 128 | |
▷ Static methods | 12 | 9.38% |
▷ Public methods | 113 | 88.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 11.72% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 21 | |
▷ Global constants | 2 | 9.52% |
▷ Class constants | 19 | 90.48% |
▷ Public constants | 2 | 10.53% |
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
PNG images were not found in this plugin