Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.38ms] Passed 4 tests
A check of server-side resources used by Section Separator block - Separate the section beautifully.
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.70 ▼6.18 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.49 ▼14.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.05 ▲2.93 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.49 ▼11.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.94 ▼1.82 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Section Separator block - Separate the section beautifully.
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲134 | 16.06 ▲1.69 | 42.81 ▲41.03 | 40.66 ▼3.46 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.05 | 108.57 ▲5.11 | 40.25 ▼0.21 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▲0.01 | 40.04 ▲2.07 | 35.12 ▲4.81 |
Add New Post /wp-admin/post-new.php | 6,362 ▲4,834 | 24.46 ▲6.23 | 862.63 ▲226.67 | 35.54 ▼25.84 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▼0.06 | 95.82 ▼2.95 | 42.61 ▼1.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 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 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant SEP_PLUGIN_VERSION - assumed 'SEP_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/section-separator/dist/script.asset.php on line 4
- > PHP Warning
Use of undefined constant SEP_PLUGIN_VERSION - assumed 'SEP_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/section-separator/dist/editor.asset.php on line 4
- > PHP Warning
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 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
Please fix the following attributes:
- Requires at least: Invalid version format
section-separator/plugin.php 85% from 13 tests
The primary PHP file in "Section Separator block - Separate the section beautifully." version 1.0.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("section-separator.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected199 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 79 |
PO File | 1 | 28 | 52 | 74 |
PHP | 4 | 11 | 14 | 41 |
JavaScript | 3 | 0 | 2 | 3 |
CSS | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin