Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.03ms] Passed 4 tests
A check of server-side resources used by ThemeZee Magazine Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.69 ▼3.35 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.21 ▼11.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.02 ▼5.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.34 ▼12.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.48 ▲6.13 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
ThemeZee Magazine Blocks: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.32 ▼0.11 | 1.62 ▼0.19 | 41.59 ▲3.20 |
Dashboard /wp-admin | 2,195 ▲18 | 5.70 ▲0.03 | 84.69 ▼6.39 | 35.52 ▼2.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.01 | 35.66 ▲0.83 | 30.64 ▼8.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.65 ▲0.69 | 680.60 ▲17.46 | 57.78 ▲9.78 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▲0.04 | 97.32 ▲0.77 | 41.55 ▼3.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: editor, themezee, gutenberg, magazine, magazine blocks...
themezee-magazine-blocks/themezee-magazine-blocks.php Passed 13 tests
The main file in "ThemeZee Magazine Blocks" v. 1.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
Flexible Magazine Blocks for the new WordPress Block Editor.
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
Success! There were no dangerous files found in this plugin960 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 220 | 375 | 491 |
JSON | 6 | 0 | 0 | 441 |
JavaScript | 6 | 0 | 10 | 16 |
CSS | 9 | 2 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 28 | 100.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/default-featured-image.png | 13.86KB | 4.54KB | ▼ 67.20% |