Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.39ms] Passed 4 tests
This is a short check of server-side resources used by GTFB ReComm Video Testimonials
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.88 ▼0.61 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.59 ▼1.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.92 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.52 ▼1.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.90 ▲4.47 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for GTFB ReComm Video Testimonials
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.35 ▲0.08 | 1.86 ▲0.07 | 49.76 ▲9.80 |
Dashboard /wp-admin | 2,224 ▲47 | 5.56 ▼0.07 | 84.67 ▼15.07 | 76.96 ▲35.18 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.01 ▼0.03 | 34.58 ▼7.19 | 34.07 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 24.65 ▲0.93 | 663.71 ▼7.87 | 61.66 ▲1.43 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.31 ▲0.06 | 107.15 ▲0.84 | 65.55 ▲16.18 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_settings() in wp-content/plugins/gtfb-recomm-video-testimonials/gtfb-recomm.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/gtfb-recomm-video-testimonials/views/main.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: testimonial, customer, story, video comment, comment...
gtfb-recomm-video-testimonials/gtfb-recomm.php 77% from 13 tests
The main file in "GTFB ReComm Video Testimonials" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 478 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "2.8")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gtfb-recomm-video-testimonials.php" instead of "gtfb-recomm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin940 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 108 | 22 | 740 |
PHP | 4 | 59 | 12 | 194 |
JSON | 1 | 0 | 0 | 3 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 8 | 88.89% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/admin-logo.png | 10.81KB | 11.70KB | 0.00% |
assets/img/example.png | 35.11KB | 17.21KB | ▼ 50.99% |