Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼145.17ms] Passed 4 tests
A check of server-side resources used by Gutenberg Block Patterns & Design Framework — Tiles
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.10 | 25.67 ▼2.82 |
Dashboard /wp-admin | 3.15 ▲0.09 | 36.41 ▼5.95 |
Posts /wp-admin/edit.php | 3.27 ▲0.15 | 36.47 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.11 | 74.72 ▼571.64 |
Media Library /wp-admin/upload.php | 3.10 ▲0.09 | 26.22 ▲0.84 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gutenberg Block Patterns & Design Framework — Tiles
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,669 ▲43 | 15.55 ▼0.34 | 4.96 ▼1.01 | 75.94 ▼1.55 |
Dashboard /wp-admin | 2,933 ▲37 | 6.13 ▼0.05 | 115.54 ▼18.61 | 168.63 ▼9.75 |
Posts /wp-admin/edit.php | 2,740 ▼0 | 3.24 ▲0.00 | 63.70 ▼0.36 | 138.63 ▲5.02 |
Add New Post /wp-admin/post-new.php | 3,817 ▲10 | 18.92 ▼0.03 | 433.52 ▼37.16 | 160.04 ▼4.50 |
Media Library /wp-admin/upload.php | 1,752 ▲3 | 5.49 ▼0.04 | 147.11 ▼3.19 | 185.59 ▲2.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tiles/includes/patterns/join-our-team.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tiles/includes/patterns/fullwidth-cta.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function Tiles() in wp-content/plugins/tiles/includes/patterns/offset-gallery.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tiles/includes/patterns/three-steps.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tiles/includes/patterns/right-stats.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: gutenberg blocks, patterns, gutenberg, blocks
tiles/tiles.php Passed 13 tests
This is the main PHP file of "Gutenberg Block Patterns & Design Framework — Tiles" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
112 characters long description:
Rapidly build beautiful websites with Tiles, the most robust collection of utility block patterns for WordPress.
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
Good job! No executable or dangerous file extensions detected598 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 121 | 243 | 595 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
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.21 |
Average class complexity | 2.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 30 | |
▷ Static methods | 19 | 63.33% |
▷ Public methods | 27 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
No PNG images were found in this plugin