Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.21MB] [CPU: ▼19.06ms] Passed 4 tests
An overview of server-side resources used by Atomic Blocks - Gutenberg Blocks Collection
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.36 ▼3.35 |
Dashboard /wp-admin | 3.36 ▲0.02 | 50.16 ▼14.58 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 46.23 ▼6.91 |
Add New Post /wp-admin/post-new.php | 4.90 ▼0.98 | 54.73 ▼51.41 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.64 ▼1.01 |
Settings /wp-admin/admin.php?page=atomic-blocks-plugin-settings | 3.30 | 36.32 |
Getting Started /wp-admin/admin.php?page=atomic-blocks | 3.38 | 353.97 |
Migrate /wp-admin/admin.php?page=atomic-blocks-migrate-page | 3.30 | 33.10 |
Server storage [IO: ▲5.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 256 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Atomic Blocks - Gutenberg Blocks Collection
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,898 ▲152 | 13.20 ▼1.17 | 1.88 ▲0.14 | 42.31 ▼1.70 |
Dashboard /wp-admin | 2,293 ▲90 | 5.79 ▲0.72 | 112.93 ▲0.70 | 47.13 ▲7.97 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.00 ▼0.05 | 36.11 ▼0.16 | 34.30 ▼0.02 |
Add New Post /wp-admin/post-new.php | 6,225 ▲4,685 | 20.33 ▼2.78 | 963.20 ▲274.65 | 55.29 ▼4.81 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.22 ▲0.02 | 94.68 ▼10.12 | 42.52 ▼4.17 |
Settings /wp-admin/admin.php?page=atomic-blocks-plugin-settings | 944 | 2.18 | 26.67 | 72.99 |
Getting Started /wp-admin/admin.php?page=atomic-blocks | 2,287 | 2.15 | 24.67 | 58.90 |
Migrate /wp-admin/admin.php?page=atomic-blocks-migrate-page | 901 | 2.01 | 24.57 | 44.96 |
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
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/atomic-blocks/dist/migration/migrate-page/ab-migrate.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atomic-blocks/src/blocks/block-sharing/index.php:71
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/atomic-blocks/dist/getting-started/pages/settings-general.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/atomic-blocks/dist/getting-started/pages/ab-getting-started.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atomic-blocks/src/blocks/block-newsletter/index.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function atomic_blocks_is_pro() in wp-content/plugins/atomic-blocks/dist/getting-started/pages/settings-main.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function AtomicBlocks\\Layouts\\add_action() in wp-content/plugins/atomic-blocks/includes/layout/layout-endpoints.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/atomic-blocks/src/blocks/block-container/index.php:37
- > PHP Fatal error
Uncaught Error: Class 'AtomicBlocks\\Exception\\API_Error_Exception' not found in wp-content/plugins/atomic-blocks/includes/exceptions/class-mailchimp-api-error-exception.php:19
- > PHP Fatal error
Uncaught Error: Interface 'AtomicBlocks\ewsletter\\Provider_Interface' not found in wp-content/plugins/atomic-blocks/includes/classes/class-mailchimp.php:18
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: block enabled, page building, editor, page builder, wp engine...
atomic-blocks/atomicblocks.php 92% from 13 tests
The entry point to "Atomic Blocks - Gutenberg Blocks Collection" version 2.9.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("atomic-blocks.php" instead of "atomicblocks.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected29,458 lines of code in 227 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 127 | 1,226 | 1,496 | 13,448 |
CSS | 17 | 2,104 | 50 | 5,641 |
SVG | 18 | 0 | 0 | 3,942 |
Sass | 35 | 752 | 1 | 3,500 |
PHP | 29 | 617 | 1,129 | 2,911 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 12.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 2 | 25.00% |
Methods | 48 | |
▷ Static methods | 7 | 14.58% |
▷ Public methods | 35 | 72.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 27.08% |
Functions | 67 | |
▷ Named functions | 50 | 74.63% |
▷ Anonymous functions | 17 | 25.37% |
Constants | 15 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 15 | 100.00% |
▷ Public constants | 15 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.81MB with 0.39MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/getting-started/images/logo.png | 12.27KB | 7.04KB | ▼ 42.66% |
dist/migration/migrate-page/genesis_blocks_hero_Image.png | 197.18KB | 76.93KB | ▼ 60.99% |
dist/getting-started/images/geo.png | 619.70KB | 72.38KB | ▼ 88.32% |
dist/getting-started/images/genesis-menu.png | 0.46KB | 0.49KB | 0.00% |