Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.57MB] [CPU: ▼5.70ms] Passed 4 tests
A check of server-side resources used by Custom Breakpoints for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 41.16 ▼1.17 |
Dashboard /wp-admin | 3.91 ▲0.61 | 49.23 ▲1.11 |
Posts /wp-admin/edit.php | 3.96 ▲0.61 | 51.89 ▲0.71 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 82.82 ▼23.45 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 38.26 ▲2.61 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.94 | 37.84 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
jltma_mcb_activation_time |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Breakpoints for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.26 ▼0.09 | 1.67 ▲0.13 | 38.41 ▼1.82 |
Dashboard /wp-admin | 2,250 ▲69 | 5.53 ▼0.19 | 93.94 ▼11.27 | 53.14 ▲9.70 |
Posts /wp-admin/edit.php | 2,171 ▲68 | 2.22 ▲0.21 | 40.45 ▼1.87 | 41.09 ▲6.28 |
Add New Post /wp-admin/post-new.php | 1,576 ▲39 | 23.06 ▲4.77 | 665.46 ▲65.81 | 71.56 ▼1.09 |
Media Library /wp-admin/upload.php | 1,463 ▲66 | 4.26 ▲0.08 | 104.49 ▲8.11 | 49.46 ▲7.59 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,045 | 2.17 | 24.74 | 30.76 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- jltma_mcb_activation_time
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/custom-breakpoints-for-elementor/inc/class-tgm-plugin-activation.php:2109
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Custom Breakpoints for Elementor), #2 (Custom Breakpoint editor)
custom-breakpoints-for-elementor/custom-breakpoints-for-elementor.php 85% from 13 tests
The entry point to "Custom Breakpoints for Elementor" version 2.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected19,114 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,253 | 1,482 | 9,532 |
PHP | 26 | 2,962 | 7,338 | 9,370 |
CSS | 1 | 27 | 3 | 210 |
JSON | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 47.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 5 | 18.52% |
▷ Concrete classes | 22 | 81.48% |
▷ Final classes | 0 | 0.00% |
Methods | 556 | |
▷ Static methods | 41 | 7.37% |
▷ Public methods | 421 | 75.72% |
▷ Protected methods | 98 | 17.63% |
▷ Private methods | 37 | 6.65% |
Functions | 35 | |
▷ Named functions | 3 | 8.57% |
▷ Anonymous functions | 32 | 91.43% |
Constants | 50 | |
▷ Global constants | 6 | 12.00% |
▷ Class constants | 44 | 88.00% |
▷ Public constants | 44 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected