Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.81ms] Passed 4 tests
This is a short check of server-side resources used by EazyTemplates - Gutenberg Template Library
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 34.97 ▼5.51 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.84 ▼5.48 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.28 ▲2.81 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 81.49 ▼8.10 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.17 ▼0.15 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
eazytemplates_version |
widget_theysaidso_widget |
eazytemplates_installed |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by EazyTemplates - Gutenberg Template Library
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.26 ▼1.02 | 1.99 ▼0.09 | 41.08 ▼2.24 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.04 | 112.84 ▼1.15 | 45.44 ▲0.48 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.00 | 38.94 ▲2.04 | 35.38 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 22.97 ▲5.42 | 660.75 ▼25.08 | 78.48 ▲31.36 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▼0.04 | 96.34 ▲1.88 | 42.65 ▲1.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- eazytemplates_version
- theysaidso_admin_options
- eazytemplates_installed
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Screenshots are stored in the), #2 (This is the second screen shot)
eazytemplate-template-library/eazytemplates.php 85% from 13 tests
The entry point to "EazyTemplates - Gutenberg Template Library" version 1.2.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eazytemplate-template-library.php" instead of "eazytemplates.php")
- 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 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin727 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 166 | 477 | 690 |
CSS | 1 | 1 | 0 | 23 |
JSON | 7 | 0 | 0 | 11 |
JavaScript | 1 | 0 | 1 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 52 | |
▷ Static methods | 19 | 36.54% |
▷ Public methods | 49 | 94.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.77% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin