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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.89ms] Passed 4 tests
An overview of server-side resources used by Divein Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.98 ▼0.13 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.60 ▼0.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.41 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 96.67 ▲2.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.52 ▼2.37 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Divein Builder: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲162 | 13.70 ▼0.68 | 6.62 ▲4.99 | 42.16 ▼9.93 |
Dashboard /wp-admin | 2,206 ▲20 | 5.81 ▼0.09 | 97.46 ▼10.25 | 40.20 ▼0.71 |
Posts /wp-admin/edit.php | 2,086 ▲18 | 2.04 ▼0.00 | 34.42 ▼1.48 | 32.31 ▼0.27 |
Add New Post /wp-admin/post-new.php | 6,783 ▲5,241 | 23.38 ▲4.99 | 909.32 ▲296.88 | 33.16 ▼25.41 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.16 ▼0.11 | 100.51 ▲3.81 | 45.32 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Contributors: The plugin contributors field is missing
divein-builder/divein-builder.php Passed 13 tests
The main PHP file in "Divein Builder" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
117 characters long description:
Advanced drag and drop page builder plugin. Create pages and posts visually with any theme, any template, any design.
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 plugin10,591 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 1,165 | 1,163 | 6,057 |
CSS | 16 | 171 | 211 | 3,378 |
PHP | 2 | 201 | 325 | 828 |
JSON | 1 | 0 | 0 | 214 |
Markdown | 1 | 37 | 0 | 69 |
SVG | 1 | 33 | 0 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/owl/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
assets/images/camera_skins.png | 23.63KB | 11.65KB | ▼ 50.70% |