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.01MB] [CPU: ▼6.11ms] Passed 4 tests
Server-side resources used by Gutenberg Blocks - Feature Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.94 ▼5.16 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.71 ▲3.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 42.47 ▼8.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.71 ▼11.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.99 ▲1.05 |
Server storage [IO: ▲1.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Gutenberg Blocks - Feature Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲32 | 13.30 ▼1.31 | 1.54 ▼0.50 | 38.12 ▼5.24 |
Dashboard /wp-admin | 2,203 ▲18 | 5.83 ▲0.76 | 101.36 ▼20.89 | 38.99 ▼8.28 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.04 | 33.50 ▼9.81 | 34.52 ▼6.00 |
Add New Post /wp-admin/post-new.php | 6,354 ▲4,835 | 27.51 ▲4.46 | 920.28 ▲322.11 | 61.32 ▲12.30 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.28 ▲0.08 | 97.62 ▼0.86 | 44.50 ▲2.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feature-box/feature-box.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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: featured box, gutenberg featuredbox, featured image, featured block, featurebox block...
feature-box/feature-box.php Passed 13 tests
This is the main PHP file of "Gutenberg Blocks - Feature Box" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
41 characters long description:
Highlight a image with your key features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected49,659 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 49,074 |
JavaScript | 8 | 45 | 20 | 495 |
Sass | 2 | 13 | 0 | 82 |
PHP | 2 | 1 | 17 | 6 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin