72% presentation-block

Code Review | Presentation Block

WordPress plugin Presentation Block scored72%from 54 tests.

About plugin

  • Plugin page: presentation-block
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.0
  • WordPress version: 6.3.1
  • First release: Jul 12, 2022
  • Latest release: Aug 30, 2022
  • Number of updates: 6
  • Update frequency: every 8.2 days
  • Top authors: danhthong (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,249 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼7.81ms] Passed 4 tests

An overview of server-side resources used by Presentation Block
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1441.24 ▼5.37
Dashboard /wp-admin3.44 ▲0.1350.21 ▲1.66
Posts /wp-admin/edit.php3.49 ▲0.1450.85 ▼0.00
Add New Post /wp-admin/post-new.php5.53 ▼0.3678.70 ▼27.54
Media Library /wp-admin/upload.php3.36 ▲0.1337.64 ▲4.10
Add New /wp-admin/post-new.php?post_type=presentation5.4366.15
All Presentations /wp-admin/edit.php?post_type=presentation3.4141.14

Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Presentation Block
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5814.27 ▼0.351.54 ▼0.3440.74 ▼0.32
Dashboard /wp-admin2,225 ▲455.62 ▼0.0591.56 ▲0.7141.83 ▲1.03
Posts /wp-admin/edit.php2,130 ▲332.01 ▲0.0239.64 ▲4.6236.64 ▼0.73
Add New Post /wp-admin/post-new.php1,549 ▲2123.02 ▼0.14639.44 ▼7.2371.17 ▲22.20
Media Library /wp-admin/upload.php1,430 ▲304.22 ▼0.0599.04 ▼7.5043.19 ▼0.90
Add New /wp-admin/post-new.php?post_type=presentation9,29223.051,021.5646.60
All Presentations /wp-admin/edit.php?post_type=presentation1,1081.9031.3933.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > User deprecated in wp-includes/functions.php+5828
    Hook block_editor_settings is deprecated since version 5.8.0! Use block_editor_settings_all instead.

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 4× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/presentation-block/template.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _x() in wp-content/plugins/presentation-block/register.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function presentation\\add_action() in wp-content/plugins/presentation-block/index.php:76
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/presentation-block/speaker.php:2

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Network (severe)
    wp-content/plugins/presentation-block/build/js/index.js?ver=1661855558 1529 WebSocket connection to 'ws://wp.com:50743/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#d8a557;font-size:160px;font-style:italic;letter-spacing:-4px;line-height:0.8;text-transform:none;font-family:source-serif-pro" "color:#d8a557;font-size:160px;font-style:italic;font-weight:900;letter-spacing:-4px;line-height:0.8;text-transform:none
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-text-color has-source-serif-pro-font-family\" style=\"color:#d8a557;font-size:160px;font-style:italic;letter-spacing:-4px;line-height:0.8;text-transform:none;font-family:source-serif-pro\">bud!\u003C/p>" "\u003Cp class=\"has-text-align-left has-text-color has-source-serif-pro-font-family\" style=\"color:#d8a557;font-size:160px;font-style:italic;font-weight:900;letter-spacing:-4px;line-height:0.8;text-transform:none\">bud!\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#c8c4d3;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase" "color:#c8c4d3;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#c8c4d3;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>" "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#c8c4d3;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#ac94b2;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase" "color:#ac94b2;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#ac94b2;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>" "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#ac94b2;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#71689c;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase" "color:#71689c;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#71689c;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>" "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#71689c;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#444178;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase" "color:#444178;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#444178;font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>" "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#444178;font-size:148px;font-style:normal;font-weight:300;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">DJANGO\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:17px;font-style:normal;letter-spacing:0px;line-height:1.4;text-decoration:none;text-transform:none" "font-size:17px;font-style:normal;font-weight:300;letter-spacing:0px;line-height:1.4;text-decoration:none;text-transform:none
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp style=\"font-size:17px;font-style:normal;letter-spacing:0px;line-height:1.4;text-decoration:none;text-transform:none\">Let 'em Roll is an album by American organist Big John Patton recorded in 1965 and released on the Blue Note label.\u003C/p>" "\u003Cp style=\"font-size:17px;font-style:normal;font-weight:300;letter-spacing:0px;line-height:1.4;text-decoration:none;text-transform:none\">Let 'em Roll is an album by American organist Big John Patton recorded in 1965 and released on the Blue Note label.\u003C/p>
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase" "font-size:148px;font-style:normal;font-weight:700;letter-spacing:-4px;line-height:0.8;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">Let\u003Cbr>'EM\u003Cbr>Roll\u003C/p>" "\u003Cp class=\"has-text-align-right has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;font-weight:700;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">Let\u003Cbr>'EM\u003Cbr>Roll\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-white-color has-text-color\" style=\"font-size:148px;font-style:normal;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">Big\u003Cbr>John\u003Cbr>Patton\u003C/p>" "\u003Cp class=\"has-text-align-right has-white-color has-text-color\" style=\"font-size:148px;font-style:normal;font-weight:700;letter-spacing:-4px;line-height:0.8;text-transform:uppercase\">Big\u003Cbr>John\u003Cbr>Patton\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:172px;font-style:normal;letter-spacing:-10px;line-height:0.7;text-transform:uppercase" "font-size:172px;font-style:normal;font-weight:700;letter-spacing:-10px;line-height:0.7;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-white-color has-text-color has-link-color\" style=\"font-size:172px;font-style:normal;letter-spacing:-10px;line-height:0.7;text-transform:uppercase\">\u003Cstrong>MONK\u003C/strong>.\u003C/p>" "\u003Cp class=\"has-text-align-left has-white-color has-text-color has-link-color\" style=\"font-size:172px;font-style:normal;font-weight:700;letter-spacing:-10px;line-height:0.7;text-transform:uppercase\">\u003Cstrong>MONK\u003C/strong>.\u003C/p>
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:17px;font-style:normal;letter-spacing:0px;text-decoration:none;text-transform:uppercase" "font-size:17px;font-style:normal;font-weight:700;letter-spacing:0px;text-decoration:none;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-white-color has-text-color has-link-color\" style=\"font-size:17px;font-style:normal;letter-spacing:0px;text-decoration:none;text-transform:uppercase\">A new collection\u003C/p>" "\u003Cp class=\"has-white-color has-text-color has-link-color\" style=\"font-size:17px;font-style:normal;font-weight:700;letter-spacing:0px;text-decoration:none;text-transform:uppercase\">A new collection\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-white-color has-text-color has-link-color\" style=\"font-size:17px;font-style:normal;letter-spacing:0px;text-decoration:none;text-transform:uppercase\">Learn More → \u003C/p>" "\u003Cp class=\"has-white-color has-text-color has-link-color\" style=\"font-size:17px;font-style:normal;font-weight:700;letter-spacing:0px;text-decoration:none;text-transform:uppercase\">Learn More → \u003C/p>
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#ffb23d;font-size:160px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase" "color:#ffb23d;font-size:160px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-center has-text-color\" style=\"color:#ffb23d;font-size:160px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">Enjoy\u003C/p>" "\u003Cp class=\"has-text-align-center has-text-color\" style=\"color:#ffb23d;font-size:160px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">Enjoy\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-center has-text-color\" style=\"color:#ffb23d;font-size:160px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">20% Off\u003C/p>" "\u003Cp class=\"has-text-align-center has-text-color\" style=\"color:#ffb23d;font-size:160px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">20% Off\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#ffffff61;font-size:120px;font-style:normal;letter-spacing:-2px;line-height:1;text-transform:uppercase" "color:#ffffff61;font-size:120px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:1;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-text-color\" style=\"color:#ffffff61;font-size:120px;font-style:normal;letter-spacing:-2px;line-height:1;text-transform:uppercase\">Embark\u003C/p>" "\u003Cp class=\"has-text-align-left has-text-color\" style=\"color:#ffffff61;font-size:120px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:1;text-transform:uppercase\">Embark\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#ffffff73;font-size:72px;font-style:normal;letter-spacing:0px;line-height:1;text-transform:uppercase" "color:#ffffff73;font-size:72px;font-style:normal;font-weight:700;letter-spacing:0px;line-height:1;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#ffffff73;font-size:72px;font-style:normal;letter-spacing:0px;line-height:1;text-transform:uppercase\">\u003Cstrong>ON A HIKING\u003C/strong>\u003C/p>" "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#ffffff73;font-size:72px;font-style:normal;font-weight:700;letter-spacing:0px;line-height:1;text-transform:uppercase\">\u003Cstrong>ON A HIKING\u003C/strong>\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#ffffffad;font-size:72px;font-style:normal;letter-spacing:0px;line-height:1;text-transform:uppercase" "color:#ffffffad;font-size:72px;font-style:normal;font-weight:700;letter-spacing:0px;line-height:1;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-text-color\" style=\"color:#ffffffad;font-size:72px;font-style:normal;letter-spacing:0px;line-height:1;text-transform:uppercase\">adventure and explore the beauty of nature's best…\u003C/p>" "\u003Cp class=\"has-text-align-left has-text-color\" style=\"color:#ffffffad;font-size:72px;font-style:normal;font-weight:700;letter-spacing:0px;line-height:1;text-transform:uppercase\">adventure and explore the beauty of nature's best…\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#ffffffd1;font-size:148px;font-style:normal;letter-spacing:-2px;line-height:1;text-transform:uppercase" "color:#ffffffd1;font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:1;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#ffffffd1;font-size:148px;font-style:normal;letter-spacing:-2px;line-height:1;text-transform:uppercase\">In the\u003C/p>" "\u003Cp class=\"has-text-align-right has-text-color\" style=\"color:#ffffffd1;font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:1;text-transform:uppercase\">In the\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#fffffff5;font-size:162px;font-style:normal;letter-spacing:-2px;line-height:1;text-transform:uppercase" "color:#fffffff5;font-size:162px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:1;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-text-color\" style=\"color:#fffffff5;font-size:162px;font-style:normal;letter-spacing:-2px;line-height:1;text-transform:uppercase\">WOODS.\u003C/p>" "\u003Cp class=\"has-text-align-left has-text-color\" style=\"color:#fffffff5;font-size:162px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:1;text-transform:uppercase\">WOODS.\u003C/p>
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:148px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase" "font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">\u003Cmark style=\"color:#a65a00\" class=\"has-inline-color\">✴︎\u003C/mark> Walk\u003C/p>" "\u003Cp class=\"has-text-align-left has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">\u003Cmark style=\"color:#a65a00\" class=\"has-inline-color\">✴︎\u003C/mark> Walk\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-right has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">In the\u003C/p>" "\u003Cp class=\"has-text-align-right has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">In the\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">Park\u003C/p>" "\u003Cp class=\"has-text-align-left has-black-color has-text-color\" style=\"font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase\">Park\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#a65a00;font-size:140px;font-style:italic;letter-spacing:0px;line-height:0.9;text-transform:uppercase" "color:#a65a00;font-size:140px;font-style:italic;font-weight:200;letter-spacing:0px;line-height:0.9;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-center has-text-color\" style=\"color:#a65a00;font-size:140px;font-style:italic;letter-spacing:0px;line-height:0.9;text-transform:uppercase\">—01.03\u003C/p>" "\u003Cp class=\"has-text-align-center has-text-color\" style=\"color:#a65a00;font-size:140px;font-style:italic;font-weight:200;letter-spacing:0px;line-height:0.9;text-transform:uppercase\">—01.03\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:18px;font-style:italic" "font-size:18px;font-style:italic;font-weight:600
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left has-black-color has-text-color\" style=\"font-size:18px;font-style:italic\">Explore our network of trails that lead through a variety of woodland habitats and observe the diverse flora that call this area home. \u003C/p>" "\u003Cp class=\"has-text-align-left has-black-color has-text-color\" style=\"font-size:18px;font-style:italic;font-weight:600\">Explore our network of trails that lead through a variety of woodland habitats and observe the diverse flora that call this area home. \u003C/p>
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "font-size:0.9rem;font-style:normal;letter-spacing:1px;text-transform:uppercase" "font-size:0.9rem;font-style:normal;font-weight:600;letter-spacing:1px;text-transform:uppercase
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left\" style=\"font-size:0.9rem;font-style:normal;letter-spacing:1px;text-transform:uppercase\">Search\u003C/p>" "\u003Cp class=\"has-text-align-left\" style=\"font-size:0.9rem;font-style:normal;font-weight:600;letter-spacing:1px;text-transform:uppercase\">Search\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-align-left\" style=\"font-size:0.9rem;font-style:normal;letter-spacing:1px;text-transform:uppercase\">Social\u003C/p>" "\u003Cp class=\"has-text-align-left\" style=\"font-size:0.9rem;font-style:normal;font-weight:600;letter-spacing:1px;text-transform:uppercase\">Social\u003C/p>
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "color:#000000;font-size:6vw;font-style:normal;letter-spacing:0px;line-height:0.9;text-decoration:none;text-transform:none" "color:#000000;font-size:6vw;font-style:normal;font-weight:700;letter-spacing:0px;line-height:0.9;text-decoration:none;text-transform:none
    • > GET request to /wp-admin/post-new.php?post_type=presentation
    • > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:22180
    Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/paragraph" Object "\u003Cp class=\"has-text-color\" style=\"color:#000000;font-size:6vw;font-style:normal;letter-spacing:0px;line-height:0.9;text-decoration:none;text-transform:none\">Positive growth.\u003C/p>" "\u003Cp class=\"has-text-color\" style=\"color:#000000;font-size:6vw;font-style:normal;font-weight:700;letter-spacing:0px;line-height:0.9;text-decoration:none;text-transform:none\">Positive growth.\u003C/p>
    • > GET request to /wp-admin/edit.php?post_type=presentation
    • > Intervention (severe) in unknown
    /wp-admin/post-new.php?post_type=presentation - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: powerpoint, blocks, keynote, slides, presentations...

presentation-block/index.php 85% from 13 tests

"Presentation Block" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: The principal plugin file should be the same as the plugin slug ("presentation-block.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin22,993 lines of code in 35 files:
LanguageFilesBlank linesComment linesLines of code
JSON30018,286
JavaScript183211033,470
PHP79859622
CSS510816568
XML1162344
HTML1023

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions770.00%
▷ Anonymous functions330.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin