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
Installer ran successfully
Server metrics [RAM: ▼0.22MB] [CPU: ▼11.85ms] Passed 4 tests
Server-side resources used by Blocks by Projects Engine
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.61 ▼5.05 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.66 ▼3.48 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 48.16 ▲1.87 |
Add New Post /wp-admin/post-new.php | 4.86 ▼1.02 | 54.50 ▼39.99 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.00 ▲1.13 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blocks by Projects Engine
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.67 ▼0.05 | 1.50 ▼0.23 | 36.92 ▼10.99 |
Dashboard /wp-admin | 2,195 ▲15 | 5.57 ▼0.05 | 88.68 ▲0.63 | 39.98 ▼3.57 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.01 | 39.53 ▼1.35 | 35.95 ▲0.22 |
Add New Post /wp-admin/post-new.php | 6,377 ▲4,851 | 28.25 ▲4.84 | 819.72 ▲192.33 | 67.52 ▲18.24 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▲0.04 | 98.86 ▲2.31 | 42.24 ▼1.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: block, gutenberg, editor, blocks, heading
blocks-by-projects-engine/index.php 85% from 13 tests
The main PHP file in "Blocks by Projects Engine" ver. 2.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 214 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("blocks-by-projects-engine.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected33,151 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 32,261 |
JavaScript | 4 | 25 | 26 | 570 |
PHP | 9 | 75 | 321 | 187 |
Sass | 2 | 12 | 0 | 54 |
CSS | 4 | 4 | 2 | 46 |
Markdown | 1 | 4 | 0 | 33 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 40.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin