Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.10ms] Passed 4 tests
Server-side resources used by My Eyes Are Up Here
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.05 ▼1.15 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.86 ▼3.81 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.72 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 87.51 ▲2.28 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.83 ▲3.82 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for My Eyes Are Up Here
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲50 | 14.64 ▼0.11 | 1.67 ▼0.35 | 47.36 ▲5.62 |
Dashboard /wp-admin | 2,213 ▲25 | 6.00 ▲1.12 | 107.59 ▼1.91 | 38.74 ▼2.60 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 3.01 ▲0.98 | 39.18 ▲2.49 | 31.63 ▼1.04 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 24.02 ▲5.75 | 592.38 ▼40.76 | 70.75 ▲3.05 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 5.36 ▲1.17 | 102.31 ▼1.53 | 42.13 ▼1.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: image editing, thumbnails, image, featured image
my-eyes-are-up-here/my-eyes-are-up-here.php Passed 13 tests
This is the main PHP file of "My Eyes Are Up Here" version 1.1.11, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
80 characters long description:
Detects faces during thumbnail cropping and moves the crop position accordingly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected995 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 110 | 224 | 401 |
JavaScript | 3 | 95 | 75 | 398 |
CSS | 2 | 15 | 0 | 94 |
JSON | 3 | 0 | 0 | 70 |
Markdown | 1 | 12 | 0 | 32 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 27 | |
▷ Static methods | 6 | 22.22% |
▷ Public methods | 18 | 66.67% |
▷ Protected methods | 9 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 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
PNG images were not found in this plugin