Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/crouton/crouton.php+941
Undefined index: meeting_data_template
Server metrics [RAM: ▼1.53MB] [CPU: ▼47.40ms] Passed 4 tests
Server-side resources used by crouton
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼1.01 | 6.11 ▼35.97 |
Dashboard /wp-admin | 2.47 ▼0.83 | 7.34 ▼42.48 |
Posts /wp-admin/edit.php | 2.48 ▼0.88 | 7.33 ▼35.10 |
Add New Post /wp-admin/post-new.php | 2.47 ▼3.41 | 6.84 ▼76.03 |
Media Library /wp-admin/upload.php | 2.47 ▼0.76 | 7.67 ▼28.92 |
Server storage [IO: ▲5.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 134 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
bmlt_tabs_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for crouton
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.07 ▼0.20 | 2.14 ▲0.42 | 43.52 ▼0.27 |
Dashboard /wp-admin | 2,202 ▲28 | 5.64 ▼0.01 | 95.20 ▲3.07 | 42.27 ▼0.56 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.07 ▲0.06 | 39.24 ▲3.67 | 34.40 ▲3.12 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.20 ▼0.06 | 672.07 ▲76.03 | 55.55 ▼2.04 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▼0.02 | 101.38 ▲1.77 | 46.27 ▼1.01 |
crouton /wp-admin/crouton.php | 26 | 0.41 | 0.17 | 15.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/crouton/crouton.php+941
Undefined index: meeting_data_template
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- bmlt_tabs_options
- can_compress_scripts
Smoke tests 25% from 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 0% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/crouton/partials/_instructions.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/crouton/crouton.php:929
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/crouton.php
- > Network (severe)
wp-admin/crouton.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: bmlt, na, maps, addiction, meeting list...
crouton/crouton.php Passed 13 tests
The primary PHP file in "crouton" version 3.17.9 is used by WordPress to initiate all plugin functionality
55 characters long description:
A tabbed based display for showing meeting information.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected76,727 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 37 | 11,722 | 7,953 | 70,283 |
CSS | 26 | 583 | 174 | 4,357 |
PHP | 3 | 46 | 70 | 1,323 |
SVG | 1 | 0 | 0 | 288 |
JSON | 3 | 0 | 0 | 188 |
Handlebars | 7 | 3 | 0 | 181 |
HTML | 4 | 0 | 0 | 94 |
Markdown | 1 | 12 | 0 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 161.00 |
▷ Minimum class complexity | 161.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 53.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 46.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
31 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/banner_rails.png | 3.75KB | 0.14KB | ▼ 96.27% |
css/south-street/images/ui-icons_eeeeee_256x240.png | 6.85KB | 4.18KB | ▼ 38.92% |
croutonjs/dist/templates/m5.png | 6.68KB | 5.10KB | ▼ 23.66% |
css/south-street/images/ui-icons_847e71_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |