Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼1.11ms] Passed 4 tests
Server-side resources used by Arkhe Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 46.85 ▲3.64 |
Dashboard /wp-admin | 3.55 ▲0.20 | 50.79 ▼10.84 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 52.80 ▲1.95 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.63 | 105.72 ▲11.52 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 40.42 ▲0.83 |
Server storage [IO: ▲6.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 291 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Arkhe Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲101 | 14.41 ▲0.43 | 1.65 ▼0.25 | 41.34 ▼2.39 |
Dashboard /wp-admin | 2,224 ▲44 | 5.58 ▼0.07 | 85.04 ▼15.29 | 80.31 ▲35.64 |
Posts /wp-admin/edit.php | 2,146 ▲43 | 2.01 ▼0.00 | 37.24 ▼2.95 | 35.67 ▲1.58 |
Add New Post /wp-admin/post-new.php | 6,340 ▲4,814 | 21.59 ▲4.11 | 946.95 ▲255.51 | 41.52 ▼10.91 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.13 ▼0.13 | 90.15 ▼16.23 | 79.61 ▲32.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/arkhe-blocks/block-parts/rss/item/meta.php
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arkhe-blocks/block-parts/blog_card.php on line 33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arkhe-blocks/block-parts/blog_card.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function Arkhe_Blocks\\Ajax\\add_action() in wp-content/plugins/arkhe-blocks/inc/ajax.php:20
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arkhe-blocks/block-parts/blog_card.php on line 28
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arkhe-blocks/block-parts/blog_card.php on line 23
- > PHP Notice
Undefined variable: args in wp-content/plugins/arkhe-blocks/block-parts/rss/item/meta.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arkhe-blocks/block-parts/rss/item/meta.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arkhe-blocks/block-parts/rss/item/meta.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/arkhe-blocks/block-parts/rss/simple.php:27
- > PHP Notice
Undefined variable: args in wp-content/plugins/arkhe-blocks/block-parts/rss/item/meta.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: arkhe, guternberg, blocks, editor
arkhe-blocks/arkhe-blocks.php Passed 13 tests
The main file in "Arkhe Blocks" v. 2.22.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
65 characters long description:
A plugin that extends Gutenberg, optimized for the "Arkhe" theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected11,623 lines of code in 274 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 71 | 1,324 | 378 | 4,864 |
PHP | 84 | 861 | 804 | 3,341 |
JSON | 31 | 0 | 0 | 1,830 |
PO File | 1 | 612 | 848 | 1,343 |
SVG | 17 | 0 | 16 | 151 |
CSS | 24 | 1 | 11 | 47 |
JavaScript | 46 | 1 | 12 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 40 | 95.24% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 83 | |
▷ Named functions | 59 | 71.08% |
▷ Anonymous functions | 24 | 28.92% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/arkp-link.png | 2.48KB | 2.64KB | 0.00% |
assets/img/arkhe-menu-icon.png | 0.85KB | 0.89KB | 0.00% |