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.01MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by Code Block Syntax Highlighter for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.62 ▼2.51 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.73 ▲1.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.07 ▼8.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.50 ▼10.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.95 ▲3.40 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Code Block Syntax Highlighter for Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 14.48 ▲0.05 | 1.73 ▼0.55 | 43.09 ▼4.43 |
Dashboard /wp-admin | 2,224 ▲33 | 4.88 ▲0.00 | 103.77 ▼2.62 | 41.02 ▼4.79 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.03 ▼0.01 | 36.23 ▼4.20 | 35.67 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.18 ▲5.47 | 595.92 ▼23.19 | 58.97 ▲4.32 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.25 ▲0.00 | 99.97 ▲3.41 | 43.49 ▲0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #3, #4, #5 in code-block-for-elementor/assets to your readme.txt
code-block-for-elementor/code-block-for-elementor.php Passed 13 tests
The main file in "Code Block Syntax Highlighter for Elementor" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
34 characters long description:
A syntax highlighter for Elementor
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
There were no executable files found in this plugin1,997 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 234 | 98 | 1,226 |
PHP | 3 | 81 | 79 | 532 |
JavaScript | 2 | 0 | 7 | 239 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 17 | 85.00% |
▷ Protected methods | 3 | 15.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.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 files were detected