Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.42ms] Passed 4 tests
Analyzing server-side resources used by Testimonial Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.30 ▲1.16 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.06 ▼5.34 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.07 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.61 ▲4.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.49 ▼0.02 |
Add New /wp-admin/post-new.php?post_type=testi_feed | 3.39 | 50.35 |
Testimonial Feeds /wp-admin/edit.php?post_type=testi_feed | 3.30 | 40.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.26 ▼1.12 | 4.64 ▲2.74 | 42.04 ▲0.56 |
Dashboard /wp-admin | 2,236 ▲48 | 5.82 ▲0.95 | 94.89 ▼6.28 | 39.85 ▼3.40 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.01 ▲0.02 | 40.48 ▼0.16 | 35.97 ▼5.83 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 18.03 ▼0.28 | 624.43 ▼31.28 | 55.34 ▲5.61 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.28 ▲0.08 | 100.51 ▲0.63 | 41.99 ▲0.03 |
Add New /wp-admin/post-new.php?post_type=testi_feed | 2,239 | 7.76 | 183.18 | 64.90 |
Testimonial Feeds /wp-admin/edit.php?post_type=testi_feed | 1,093 | 1.93 | 33.21 | 30.24 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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: 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 errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/testimonial-feed/testimonial-feed.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
8 plugin tags: rating, comment, store feedback, testimonials, feeds...
testimonial-feed/testimonial-feed.php Passed 13 tests
The primary PHP file in "Testimonial Feed" version 1.1 is used by WordPress to initiate all plugin functionality
58 characters long description:
A simple and lightweight testimonial feed with star rating
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
No dangerous file extensions were detected240 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 35 | 129 |
CSS | 1 | 0 | 0 | 111 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin