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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.94ms] Passed 4 tests
An overview of server-side resources used by Corporate Testimonials powered by ASSIST
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.73 ▼5.36 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.88 ▼5.48 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 52.27 ▼6.25 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.04 | 91.29 ▼2.66 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 36.42 ▼0.43 |
Testimonial Page /wp-admin/edit.php?post_type=testimoniale | 3.32 | 30.35 |
Add New /wp-admin/post-new.php?post_type=team | 3.39 | 49.13 |
Add New /wp-admin/post-new.php?post_type=testimoniale | 3.39 | 52.76 |
Our Team /wp-admin/edit.php?post_type=team | 3.32 | 39.26 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Corporate Testimonials powered by ASSIST
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲86 | 14.33 ▼0.06 | 2.21 ▲0.42 | 38.05 ▼0.58 |
Dashboard /wp-admin | 2,232 ▲51 | 5.66 ▼0.07 | 96.36 ▼9.06 | 74.46 ▲27.21 |
Posts /wp-admin/edit.php | 2,157 ▲54 | 1.98 ▲0.04 | 38.95 ▲0.86 | 36.14 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,576 ▲45 | 23.05 ▼0.28 | 782.56 ▲115.71 | 54.87 ▲3.48 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.17 ▼0.03 | 99.62 ▼1.30 | 67.86 ▲17.13 |
Testimonial Page /wp-admin/edit.php?post_type=testimoniale | 1,119 | 1.96 | 34.12 | 32.40 |
Add New /wp-admin/post-new.php?post_type=team | 2,308 | 7.53 | 172.34 | 115.36 |
Add New /wp-admin/post-new.php?post_type=testimoniale | 2,308 | 7.69 | 159.79 | 118.21 |
Our Team /wp-admin/edit.php?post_type=team | 1,116 | 1.96 | 34.65 | 30.58 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/corporate-testimonials/testimonial-team.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Contributors: Contributors not specified
corporate-testimonials/testimonial-team.php 92% from 13 tests
This is the main PHP file of "Corporate Testimonials powered by ASSIST" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("corporate-testimonials.php" instead of "testimonial-team.php")
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
There were no executable files found in this plugin57 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 12 | 57 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/teamicon.png | 0.75KB | 0.70KB | ▼ 6.27% |
images/testimonial.png | 0.63KB | 0.61KB | ▼ 2.79% |