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.01MB] [CPU: ▼6.25ms] Passed 4 tests
An overview of server-side resources used by Enquir3 Case Studies
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 47.70 ▲6.16 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.47 ▼7.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.14 ▲0.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.52 ▼17.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 29.86 ▼0.82 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Enquir3 Case Studies: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.19 | 1.93 ▲0.14 | 43.32 ▼1.42 |
Dashboard /wp-admin | 2,209 ▲18 | 5.90 ▲0.98 | 100.70 ▼2.63 | 43.09 ▲1.57 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.10 | 35.43 ▼5.92 | 31.96 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 18.52 ▲0.27 | 634.63 ▲24.04 | 58.03 ▲8.88 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.24 ▲0.02 | 94.13 ▼11.61 | 42.15 ▼1.11 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/enquir3-case-studies/views/casestudy-article.tpl.php
- > /wp-content/plugins/enquir3-case-studies/widgets/views/remsto-casestudy-block-item.tpl.php
- > /wp-content/plugins/enquir3-case-studies/views/casestudy-confirmation-form.tpl.php
- > /wp-content/plugins/enquir3-case-studies/views/casestudy-item.tpl.php
- > /wp-content/plugins/enquir3-case-studies/includes/views/casestudy-mid-copy.tpl.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/enquir3-case-studies/includes/class-eq3cs-case-studies-management-table.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/enquir3-case-studies/widgets/views/remsto-casestudy-block-item.tpl.php on line 17
- > PHP Notice
Undefined variable: vars in wp-content/plugins/enquir3-case-studies/widgets/views/remsto-casestudy-block-item.tpl.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in /var/www/wordpress/wp-content/plugins/enquir3-case-studies/widgets/latest-casestudy.inc:3
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/enquir3-case-studies/views/casestudy-confirmation-form.tpl.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/enquir3-case-studies/views/casestudy-confirmation-form.tpl.php on line 5
- > PHP Notice
Undefined variable: vars in wp-content/plugins/enquir3-case-studies/views/casestudy-confirmation-form.tpl.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/enquir3-case-studies/includes/class-eq3cs-case-studies-management-table.php on line 7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/enquir3-case-studies/includes/class-eq3cs-case-studies-management-table.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: case studies, testimonial, feedback
enquir3-case-studies/enquir3-case-studies.php Passed 13 tests
Analyzing the main PHP file in "Enquir3 Case Studies" version 1.0.2
38 characters long description:
Case Studies using the Enquir3 System.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected3,855 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 365 | 46 | 1,365 |
PHP | 8 | 239 | 248 | 1,236 |
Pascal | 5 | 239 | 559 | 687 |
CSS | 5 | 81 | 31 | 329 |
Twig | 7 | 40 | 0 | 238 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 35 | |
▷ Static methods | 6 | 17.14% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
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
42 PNG files occupy 0.17MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.34KB | 0.16KB | ▼ 54.02% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |