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.07MB] [CPU: ▼3.89ms] Passed 4 tests
An overview of server-side resources used by ImageDock
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 44.07 ▼0.46 |
Dashboard /wp-admin | 3.38 ▲0.08 | 58.63 ▲9.37 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 52.93 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 84.74 ▼8.80 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.32 ▼7.64 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_imagedock |
New WordPress options |
---|
imagedock_version |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ImageDock
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,067 ▲321 | 15.06 ▲0.68 | 8.78 ▲6.81 | 42.23 ▼6.57 |
Dashboard /wp-admin | 2,366 ▲181 | 6.56 ▲0.67 | 127.82 ▲22.07 | 42.72 ▲0.03 |
Posts /wp-admin/edit.php | 2,269 ▲177 | 3.34 ▲1.28 | 49.01 ▲7.04 | 31.17 ▼6.06 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.49 ▲0.33 | 669.19 ▼7.34 | 37.93 ▼15.79 |
Media Library /wp-admin/upload.php | 1,408 ▲17 | 4.19 ▼0.00 | 92.26 ▼14.51 | 42.88 ▼5.42 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: image animation effect, imagedock, image gallery
imagedock/imagedock.php Passed 13 tests
The main file in "ImageDock" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
Create image galleries with a dock effect (something like OSX dock)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin390 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 13 | 191 |
JavaScript | 3 | 19 | 11 | 148 |
CSS | 2 | 6 | 0 | 51 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 26.67% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin