Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.40ms] Passed 4 tests
Server-side resources used by Gravitation Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.30 ▼3.29 |
Dashboard /wp-admin | 3.35 ▲0.04 | 43.25 ▼4.41 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.36 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.60 ▲2.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.50 ▲0.27 |
All testimonials /wp-admin/edit.php?post_type=testimonials | 3.32 | 34.45 |
Testimonials category /wp-admin/edit-tags.php?taxonomy=gravitation_testimonials_cat&post_type=testimonials | 3.26 | 32.17 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.39 | 47.92 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gravitation Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.49 ▼0.78 | 1.58 ▼0.34 | 40.46 ▼3.84 |
Dashboard /wp-admin | 2,241 ▲53 | 5.85 ▲0.72 | 97.58 ▼22.11 | 40.45 ▼4.08 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.01 ▲0.02 | 40.36 ▲4.31 | 35.10 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,571 ▲38 | 18.42 ▼4.54 | 606.69 ▼68.21 | 55.88 ▼1.04 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.18 ▼0.02 | 98.75 ▼3.83 | 43.72 ▲1.02 |
Help /wp-admin/gravitation-testimonials.php | 26 | 0.44 | 0.07 | 14.72 |
All testimonials /wp-admin/edit.php?post_type=testimonials | 1,101 | 1.93 | 31.59 | 30.18 |
Testimonials category /wp-admin/edit-tags.php?taxonomy=gravitation_testimonials_cat&post_type=testimonials | 1,294 | 2.14 | 26.48 | 27.42 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,355 | 7.64 | 165.10 | 62.01 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/gravitation-testimonials/gravitation-testimonials.php:52
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/gravitation-testimonials.php
- > Network (severe)
wp-admin/gravitation-testimonials.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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: testimonials, testimonials on widgets, testimonials shortcodes
gravitation-testimonials/gravitation-testimonials.php Passed 13 tests
The principal PHP file in "Gravitation Testimonials" v. 1.1 is loaded by WordPress automatically on each request
91 characters long description:
Gravitation Testimonials, is a plugin to display testimonials on your site, with shortcodes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin15,047 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 17 | 36 | 12,724 |
JavaScript | 3 | 582 | 199 | 1,602 |
PHP | 2 | 149 | 62 | 433 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.25MB with 0.17MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 79.63KB | 27.41KB | ▼ 65.58% |
screenshot-1.png | 181.40KB | 51.40KB | ▼ 71.66% |