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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.09MB] [CPU: ▼17.79ms] Passed 4 tests
An overview of server-side resources used by Webslides Presentations
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.97 ▼7.48 |
Dashboard /wp-admin | 3.39 ▲0.05 | 44.93 ▼12.92 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.15 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.29 ▼0.60 | 62.93 ▼48.86 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 34.27 ▼1.91 |
Presentations /wp-admin/edit.php?post_type=webslides | 3.36 | 37.95 |
New Presentation /wp-admin/post-new.php?post_type=webslides | 5.28 | 57.65 |
Server storage [IO: ▲1.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Webslides Presentations: 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,843 ▲72 | 14.75 ▲0.10 | 1.81 ▼0.30 | 45.37 ▲1.85 |
Dashboard /wp-admin | 2,250 ▲65 | 5.85 ▼0.01 | 100.36 ▼2.83 | 39.00 ▼3.17 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.05 ▲0.03 | 36.83 ▼3.33 | 31.91 ▼6.30 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 17.83 ▼0.49 | 673.34 ▲39.91 | 52.29 ▼0.75 |
Media Library /wp-admin/upload.php | 1,429 ▲38 | 4.20 ▼0.00 | 102.13 ▲1.52 | 41.04 ▼3.72 |
Presentations /wp-admin/edit.php?post_type=webslides | 1,102 | 2.01 | 30.53 | 30.51 |
New Presentation /wp-admin/post-new.php?post_type=webslides | 1,485 | 19.13 | 836.88 | 29.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=webslides
- > User deprecated in wp-includes/functions.php+5828
Hook allowed_block_types is deprecated since version 5.8.0! Use allowed_block_types_all instead.
- > GET request to /wp-admin/post-new.php?post_type=webslides
- > 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
The following issues need your attention
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Stracker\\WebslidesEditor\\add_filter() in wp-content/plugins/webslides-presentations/lib/page-template.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function Stracker\\WebslidesEditor\\add_action() in wp-content/plugins/webslides-presentations/lib/enqueue-scripts.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function Stracker\\WebslidesEditor\\add_action() in wp-content/plugins/webslides-presentations/lib/meta-boxes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function Stracker\\WebslidesEditor\\add_action() in wp-content/plugins/webslides-presentations/lib/post-type.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/webslides-presentations/templates/webslides-default.php:10
- > 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/post-new.php?post_type=webslides
- > Network (severe)
?post_type=webslides&p=11&_wp-find-template=true&_locale=user - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: slideshow, presentation
webslides-presentations/webslides-presentations.php 92% from 13 tests
The principal PHP file in "Webslides Presentations" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin3,766 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 494 | 369 | 2,937 |
JavaScript | 25 | 46 | 77 | 417 |
PHP | 6 | 70 | 141 | 298 |
Sass | 6 | 19 | 0 | 114 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 1 | |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected