Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼4.56ms] Passed 4 tests
Analyzing server-side resources used by Meridian One Features
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 39.60 ▲0.24 |
Dashboard /wp-admin | 3.65 ▲0.34 | 52.59 ▲2.98 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 50.35 ▼1.52 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 87.95 ▼17.46 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.52 ▲0.51 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_meridian_one_team_member_widget |
widget_meridian_one_about_widget |
widget_meridian_one_slide_widget |
can_compress_scripts |
widget_meridian_one_process_widget |
widget_recent-posts |
widget_meridian_one_contact_info_widget |
db_upgraded |
widget_recent-comments |
widget_meridian_one_testimonial_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Meridian One Features
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.32 ▼1.05 | 1.83 ▲0.09 | 45.36 ▲2.62 |
Dashboard /wp-admin | 2,209 ▲21 | 5.90 ▲1.00 | 98.26 ▼3.91 | 39.21 ▼3.08 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 37.48 ▼0.59 | 33.72 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,533 ▼6 | 23.37 ▲0.18 | 656.70 ▼32.32 | 63.09 ▲6.10 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.15 ▼0.08 | 100.54 ▼1.98 | 43.26 ▼2.80 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 14 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_meridian_one_team_member_widget
- widget_meridian_one_service_widget
- can_compress_scripts
- widget_recent-posts
- widget_meridian_one_process_widget
- theysaidso_admin_options
- widget_meridian_one_feature_widget
- ...
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 | 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
Almost there! Just fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.testimonial.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.pricing.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.team-member.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.about.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.slide.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.contact-info.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.service.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.process.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meridian-one-features/inc/widgets/widget.feature.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: widget, widgets, admin
meridian-one-features/meridian-one-features.php Passed 13 tests
The main PHP script in "Meridian One Features" version 1.0.2 is automatically included on every request by WordPress
56 characters long description:
Shortcodes and custom post types for Meridian One theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin4,004 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 63 | 31 | 2,273 |
PHP | 12 | 358 | 368 | 1,036 |
SVG | 1 | 0 | 0 | 655 |
JavaScript | 1 | 16 | 10 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.11 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin