10% dippler

Code Review | Dippler

WordPress plugin Dippler scored10%from 54 tests.

About plugin

  • Plugin page: dippler
  • Plugin version: 0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-3.4.2
  • WordPress version: 6.3.1
  • First release: Oct 24, 2012
  • Latest release: Feb 7, 2013
  • Number of updates: 75
  • Update frequency: every 1.6 days
  • Top authors: raido357 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,335 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.43 ▼0.43
Dashboard /wp-admin3.31 ▲0.0047.05 ▼1.32
Posts /wp-admin/edit.php3.36 ▲0.0050.91 ▲0.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.82 ▼4.50
Media Library /wp-admin/upload.php3.23 ▲0.0039.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.091.92 ▲0.2643.82 ▲1.98
Dashboard /wp-admin2,195 ▲185.52 ▼0.1091.46 ▲3.8336.09 ▼3.66
Posts /wp-admin/edit.php2,100 ▲32.01 ▲0.0440.58 ▲1.4536.56 ▼1.27
Add New Post /wp-admin/post-new.php1,526 ▼023.63 ▲0.41667.53 ▼9.6262.25 ▲2.44
Media Library /wp-admin/upload.php1,394 ▼94.28 ▲0.1295.09 ▼11.1340.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP661,0482,0743,889
JavaScript37542472
PO File1216287445
CSS47149196

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 code0.37
Average class complexity16.50
▷ Minimum class complexity1.00
▷ Maximum class complexity197.00
Average method complexity3.03
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes38
▷ Abstract classes00.00%
▷ Concrete classes38100.00%
▷ Final classes00.00%
Methods290
▷ Static methods248.28%
▷ Public methods26591.38%
▷ Protected methods31.03%
▷ Private methods227.59%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
images/youtube_resource_tiny.png0.39KB0.29KB▼ 26.73%
images/placeholder_icon_tiny.png0.16KB0.12KB▼ 26.06%
images/slideshare_resource_tiny.png0.62KB0.70KB0.00%
themes/twentyeleven_dippler/screenshot.png61.40KB22.17KB▼ 63.90%
images/course_thumb_bg.png5.53KB2.63KB▼ 52.45%