Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.22ms] Passed 4 tests
A check of server-side resources used by Services Section block - Showcase services in a professional way.
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.60 ▼5.37 |
Dashboard /wp-admin | 3.36 ▲0.06 | 53.17 ▲3.16 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.81 ▲0.64 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.59 ▼10.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.36 ▲1.95 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Services Section block - Showcase services in a professional way.
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 14.81 ▲0.54 | 1.70 ▼0.09 | 43.37 ▼1.94 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.05 | 99.58 ▼6.93 | 37.96 ▼3.44 |
Posts /wp-admin/edit.php | 2,089 ▲18 | 2.01 ▼0.01 | 38.71 ▲1.85 | 33.93 ▼2.87 |
Add New Post /wp-admin/post-new.php | 6,365 ▲4,829 | 23.50 ▲0.13 | 892.15 ▲238.03 | 55.57 ▲5.71 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.12 | 94.86 ▼2.78 | 44.37 ▲0.65 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/services-section/inc/block.php:4
- > PHP Warning
Use of undefined constant SSB_VERSION - assumed 'SSB_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/services-section/dist/editor.asset.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/services-section/inc/child/block.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires at least: Invalid plugin version format
services-section/plugin.php 92% from 13 tests
The primary PHP file in "Services Section block - Showcase services in a professional way." version 1.3.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("services-section.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin491 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 276 |
PO File | 1 | 60 | 109 | 143 |
PHP | 5 | 17 | 13 | 67 |
CSS | 3 | 0 | 6 | 3 |
JavaScript | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 | 3 | |
▷ Global constants | 3 | 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