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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.07ms] Passed 4 tests
Server-side resources used by The Marquee Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.35 ▼0.66 |
Dashboard /wp-admin | 3.35 ▲0.04 | 52.93 ▼2.34 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 55.43 ▼1.51 |
Add New Post /wp-admin/post-new.php | 7.03 ▲1.13 | 91.24 ▼27.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 38.42 ▲2.75 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for The Marquee Block
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,097 ▲336 | 22.78 ▲8.43 | 42.72 ▲41.01 | 35.76 ▼6.30 |
Dashboard /wp-admin | 2,260 ▲80 | 10.36 ▲4.78 | 114.08 ▲20.42 | 41.14 ▼0.96 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 9.33 ▲7.34 | 81.32 ▲41.88 | 35.85 ▼4.44 |
Add New Post /wp-admin/post-new.php | 6,195 ▲4,667 | 21.45 ▼1.84 | 750.64 ▲60.76 | 42.23 ▼10.46 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 12.01 ▲7.83 | 128.00 ▲6.29 | 39.67 ▼6.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/the-marquee-block/the-marquee-block.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% 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
5 plugin tags: marquee, block, gutenberg, themeskingdom, blocks
the-marquee-block/the-marquee-block.php 85% from 13 tests
The main PHP file in "The Marquee Block" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.0")
- Requires at least: Required version must be the same as the one declared in readme.txt ("6.0" instead of "5.9")
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 detected556 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 291 |
PHP | 2 | 39 | 51 | 148 |
PO File | 1 | 37 | 40 | 96 |
JavaScript | 2 | 3 | 0 | 19 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 0 | |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin