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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.77ms] Passed 4 tests
Server-side resources used by Shapely Companion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.42 ▼2.32 |
Dashboard /wp-admin | 3.88 ▲0.58 | 48.67 ▼0.76 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.83 ▼1.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.98 ▼14.37 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.62 ▲1.95 |
Server storage [IO: ▲0.39MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Shapely Companion: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲200 | 13.37 ▼1.23 | 5.39 ▲3.70 | 40.15 ▼3.86 |
Dashboard /wp-admin | 2,344 ▲156 | 4.85 ▼0.05 | 101.25 ▼0.41 | 40.76 ▼5.90 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▲0.03 | 33.89 ▼3.37 | 35.64 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 23.30 ▲0.16 | 605.47 ▼181.41 | 50.18 ▼11.93 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.33 ▲0.13 | 95.60 ▼7.27 | 41.50 ▼4.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-home-clients.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-home-call-for-action.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-categories.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-social.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-home-contact.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-video.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-home-testimonials.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-page-title.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-recent-posts.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shapely-companion/inc/widgets/class-shapely-page-content.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== shapely-companion ===
) - Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
shapely-companion/shapely-companion.php Passed 13 tests
Analyzing the main PHP file in "Shapely Companion" version 1.2.7
58 characters long description:
Shapely Companion is a companion plugin for Shapely theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected5,040 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 536 | 434 | 2,909 |
JavaScript | 11 | 588 | 1,153 | 2,089 |
CSS | 1 | 9 | 0 | 42 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 65 | |
▷ Static methods | 1 | 1.54% |
▷ Public methods | 64 | 98.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.54% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin