Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/dippler/main.php+1101
syntax error, unexpected '&'
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.32ms] Passed 4 tests
Server-side resources used by Dippler
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.43 ▼0.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.05 ▼1.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.91 ▲0.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.82 ▼4.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.16 ▲1.44 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Dippler
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.09 | 1.92 ▲0.26 | 43.82 ▲1.98 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.10 | 91.46 ▲3.83 | 36.09 ▼3.66 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.04 | 40.58 ▲1.45 | 36.56 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.63 ▲0.41 | 667.53 ▼9.62 | 62.25 ▲2.44 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.28 ▲0.12 | 95.09 ▼11.13 | 40.89 ▼1.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 60× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DipplerBOS_Connector' not found in wp-content/plugins/dippler/classes/dippler-answer-manager.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dippler/themes/twentytwelve_dippler/dippler-participants-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dippler/themes/twentyeleven_dippler/dippler-blog-page.php:10
- > PHP Fatal error
Uncaught Error: Class 'DipplerBOS_Connector' not found in wp-content/plugins/dippler/classes/dippler-learning-outcome-manager.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dippler/themes/twentyeleven_dippler/dippler-resource-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dippler/themes/twentyten_dippler/dippler-timeline-page.php:10
- > PHP Fatal error
Uncaught Error: Class 'DipplerBOS_Connector' not found in wp-content/plugins/dippler/classes/dippler-dictionary-manager.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dippler/themes/twentytwelve_dippler/dippler-resource-folder-page.php:10
- > PHP Parse error
syntax error, unexpected '&', expecting ')' in wp-content/plugins/dippler/classes/dippler-profile-manager.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dippler/themes/twentyten_dippler/dippler-assignments-page.php:10
- > 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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: assessment, ple, teacher, student, assignments...
dippler/main.php 92% from 13 tests
The principal PHP file in "Dippler" v. 0.7 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("dippler.php" instead of "main.php")
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
Good job! No executable or dangerous file extensions detected5,002 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 1,048 | 2,074 | 3,889 |
JavaScript | 3 | 75 | 42 | 472 |
PO File | 1 | 216 | 287 | 445 |
CSS | 4 | 71 | 49 | 196 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 290 | |
▷ Static methods | 24 | 8.28% |
▷ Public methods | 265 | 91.38% |
▷ Protected methods | 3 | 1.03% |
▷ Private methods | 22 | 7.59% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.28MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/youtube_resource_tiny.png | 0.39KB | 0.29KB | ▼ 26.73% |
images/placeholder_icon_tiny.png | 0.16KB | 0.12KB | ▼ 26.06% |
images/slideshare_resource_tiny.png | 0.62KB | 0.70KB | 0.00% |
themes/twentyeleven_dippler/screenshot.png | 61.40KB | 22.17KB | ▼ 63.90% |
images/course_thumb_bg.png | 5.53KB | 2.63KB | ▼ 52.45% |