Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼141.29ms] Passed 4 tests
A check of server-side resources used by kidona-exif
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 34.01 ▲2.39 |
Dashboard /wp-admin | 3.08 ▲0.03 | 41.30 ▼7.43 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 44.34 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 91.91 ▼551.55 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 32.15 ▼4.47 |
Server storage [IO: ▲3.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 399 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by kidona-exif
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.91 ▲0.08 | 8.33 ▲0.13 | 48.75 ▲2.94 |
Dashboard /wp-admin | 2,967 ▲34 | 6.06 ▲0.11 | 133.41 ▼26.43 | 106.23 ▼10.12 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 65.94 ▲0.04 | 84.89 ▼9.66 |
Add New Post /wp-admin/post-new.php | 1,683 ▲11 | 18.73 ▼0.06 | 355.66 ▼12.51 | 100.85 ▼11.32 |
Media Library /wp-admin/upload.php | 1,836 ▲32 | 5.47 ▲0.44 | 130.27 ▼15.86 | 114.13 ▼2.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Kidona\\add_action() in wp-content/plugins/kidona-exif/kidona-exif.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: exif, meta data
kidona-exif/kidona-exif.php Passed 13 tests
The main PHP script in "kidona-exif" version 1.0.1 is automatically included on every request by WordPress
89 characters long description:
Displays EXIF data for images in the Wordpress Media Library and NextGEN Manage Galleries
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin43,707 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 83 | 1,560 | 2,183 | 43,491 |
JavaScript | 1 | 34 | 13 | 142 |
PHP | 1 | 23 | 22 | 74 |
PHP code Passed 2 tests
Analyzing 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.36 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
311 PNG files occupy 0.98MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/jquery-ui-themes-1.12.1/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png | 0.46KB | 0.15KB | ▼ 66.81% |
css/jquery-ui-themes-1.12.1/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png | 0.38KB | 0.10KB | ▼ 74.42% |
css/jquery-ui-themes-1.12.1/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
css/jquery-ui-themes-1.12.1/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.18KB | ▼ 44.00% |
css/jquery-ui-themes-1.12.1/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png | 0.37KB | 0.16KB | ▼ 57.74% |