Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.84ms] Passed 4 tests
Server-side resources used by Parallel Extensions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.02 ▼3.65 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.75 ▼4.02 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 43.34 ▼4.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 79.42 ▼7.53 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.26 ▼1.38 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_parallel_service |
widget_parallel_brands |
widget_parallel_testimonial |
widget_recent-comments |
widget_parallel_feature |
widget_parallel_our_team |
widget_recent-posts |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Parallel Extensions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.28 | 1.83 ▲0.18 | 43.71 ▼6.58 |
Dashboard /wp-admin | 2,189 ▲9 | 5.51 ▼0.09 | 85.00 ▼5.06 | 36.94 ▼1.17 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.15 ▲0.14 | 34.22 ▼0.91 | 31.85 ▼6.56 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.25 ▲0.08 | 687.19 ▼22.40 | 56.78 ▼3.22 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.03 | 101.25 ▼0.19 | 42.34 ▼2.85 |
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
- Zombie WordPress options were found after uninstall: 11 options
- widget_parallel_brands
- theysaidso_admin_options
- widget_parallel_our_team
- db_upgraded
- widget_parallel_service
- widget_theysaidso_widget
- widget_parallel_feature
- widget_recent-comments
- widget_recent-posts
- widget_parallel_testimonial
- ...
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/parallel-theme-extensions/parallel-extensions.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/brands_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/pricing_tables_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/our_clients_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/our_team_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/stats_widget.php:7
- > PHP Fatal error
require(): Failed opening required 'PARALLEL_EXTENSIONS_PATHwidgets/brands_widget.php' (include_path='.:/usr/share/php') in wp-content/plugins/parallel-theme-extensions/inc/widgets.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/service_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/projects_single_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/project_grid_widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/parallel-theme-extensions/widgets/testimonials_widget.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There were no tags found
parallel-theme-extensions/parallel-extensions.php 92% from 13 tests
"Parallel Extensions" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("parallel-theme-extensions.php" instead of "parallel-extensions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,077 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 94 | 403 | 969 |
JavaScript | 1 | 31 | 12 | 77 |
CSS | 1 | 0 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 11.90 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 2 | 16.67% |
▷ Anonymous functions | 10 | 83.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin