Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.49MB] [CPU: ▼202.63ms] Passed 4 tests
Server-side resources used by Elementary
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▲0.54 | 39.49 ▲17.18 |
Dashboard /wp-admin | 3.16 ▲0.11 | 23.32 ▼23.77 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 25.61 ▼19.26 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.27 | 32.24 ▼761.89 |
Media Library /wp-admin/upload.php | 3.16 ▲0.16 | 28.27 ▼5.59 |
Server storage [IO: ▲8.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 135 new files
Database: no new tables, 2 new options
New WordPress options |
---|
elementary_db_version |
elementary_plugin_version |
Browser metrics Passed 4 tests
A check of browser resources used by Elementary
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,869 ▲273 | 16.33 ▲0.63 | 17.43 ▲8.42 | 55.04 ▲7.33 |
Dashboard /wp-admin | 3,018 ▲81 | 6.10 ▲0.12 | 152.62 ▲0.01 | 116.36 ▲7.16 |
Posts /wp-admin/edit.php | 2,787 ▲48 | 2.72 ▲0.00 | 78.47 ▲9.17 | 96.06 ▲5.37 |
Add New Post /wp-admin/post-new.php | 1,716 ▲33 | 18.57 ▼0.17 | 461.72 ▲37.66 | 118.29 ▼10.77 |
Media Library /wp-admin/upload.php | 1,855 ▲48 | 5.04 ▲0.05 | 162.96 ▼2.53 | 120.96 ▼5.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 1 option
- elementary_db_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
elementary/elementary.php Passed 13 tests
The principal PHP file in "Elementary" v. 1.2 is loaded by WordPress automatically on each request
101 characters long description:
A drag and drop grid builder plugin to make grids, carousels, sliders, masonry and more. Beautifully.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin17,637 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 2,683 | 9,372 | 13,702 |
PHP | 28 | 643 | 450 | 2,529 |
CSS | 8 | 72 | 19 | 1,406 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 19.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 74 | |
▷ Named functions | 74 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
50 PNG files occupy 3.95MB with 2.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mocks/magazine.png | 40.90KB | 13.63KB | ▼ 66.67% |
vendor/jQuery-ColorPicker/images/grabber.png | 0.33KB | 0.14KB | ▼ 55.86% |
assets/images/elements-bundle/podcast-card.png | 132.51KB | 45.13KB | ▼ 65.95% |
assets/images/transparent-square.png | 1.63KB | 0.12KB | ▼ 92.87% |
vendor/jQuery-ColorPicker/images/gradient_input.png | 0.21KB | 0.19KB | ▼ 8.45% |