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.02MB] [CPU: ▼123.38ms] Passed 4 tests
Analyzing server-side resources used by Modern Design Library
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.79 ▼2.26 |
Dashboard /wp-admin | 3.32 ▼0.11 | 46.50 ▼488.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.09 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.90 ▲3.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.22 ▼3.52 |
Modern Design Library /wp-admin/options-general.php?page=mdlui | 3.21 | 31.50 |
Server storage [IO: ▲0.14MB] [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: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Modern Design Library: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲56 | 14.37 ▲0.02 | 1.80 ▲0.06 | 37.41 ▼1.37 |
Dashboard /wp-admin | 2,210 ▲36 | 5.63 ▲0.05 | 82.52 ▼3.23 | 40.93 ▲2.77 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.00 ▼0.03 | 35.13 ▲1.36 | 32.58 ▼0.44 |
Add New Post /wp-admin/post-new.php | 6,377 ▲4,840 | 27.75 ▲9.54 | 917.90 ▲249.09 | 70.08 ▲2.30 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.16 ▼0.17 | 96.56 ▼18.72 | 44.49 ▼3.98 |
Modern Design Library /wp-admin/options-general.php?page=mdlui | 792 | 2.02 | 28.82 | 29.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
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
5 plugin tags: separator, ux, divider, ui, line
mdl-shortcodes/mdl-shortcodes.php Passed 13 tests
"Modern Design Library" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
103 characters long description:
A modern design library toolkit for creating separators, lines, dividers, decorative elements and more.
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
Success! There were no dangerous files found in this plugin394 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 33 | 50 | 307 |
PHP | 2 | 28 | 42 | 59 |
XML | 1 | 7 | 4 | 25 |
CSS | 2 | 19 | 66 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin