Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼157.52ms] Passed 4 tests
An overview of server-side resources used by Tekserve Testimonials
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.06 | 36.38 ▼1.89 |
Dashboard /wp-admin | 3.12 ▲0.06 | 46.11 ▼3.45 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 48.57 ▲2.86 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 93.60 ▼627.58 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 35.23 ▲3.77 |
Add New /wp-admin/post-new.php?post_type=tekserve_testimonial | 3.16 | 49.09 |
Testimonial Type /wp-admin/edit-tags.php?taxonomy=tekserve-testimonials-type&post_type=tekserve_testimonial | 3.06 | 39.20 |
Testimonials /wp-admin/edit.php?post_type=tekserve_testimonial | 3.11 | 26.13 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Tekserve Testimonials: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,735 ▲163 | 15.82 ▲0.41 | 7.57 ▼4.18 | 49.27 ▼4.64 |
Dashboard /wp-admin | 3,007 ▲73 | 5.93 ▲0.01 | 145.69 ▼10.54 | 117.85 ▲3.80 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.70 ▲0.02 | 70.43 ▼1.98 | 91.55 ▼5.31 |
Add New Post /wp-admin/post-new.php | 1,709 ▲26 | 18.74 ▲0.15 | 386.90 ▼5.70 | 113.36 ▲2.70 |
Media Library /wp-admin/upload.php | 1,847 ▲37 | 5.02 ▲0.00 | 164.21 ▼0.65 | 121.80 ▼6.13 |
Add New /wp-admin/post-new.php?post_type=tekserve_testimonial | 3,005 | 9.04 | 244.28 | 132.31 |
Testimonial Type /wp-admin/edit-tags.php?taxonomy=tekserve-testimonials-type&post_type=tekserve_testimonial | 1,748 | 2.50 | 66.49 | 83.36 |
Testimonials /wp-admin/edit.php?post_type=tekserve_testimonial | 1,448 | 2.61 | 70.67 | 75.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tekserve-testimonials/tekserve-testimonials.php:24
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (New testimonial. Drop the quote in the content box (html is ok), add a name / organization, and a type if you so desire.), #2 (View your testimonials and sort by type or date.)
tekserve-testimonials/tekserve-testimonials.php Passed 13 tests
The main PHP file in "Tekserve Testimonials" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
83 characters long description:
Custom Post Type for Testimonial Quotes; Includes Custom Fields & Genesis Shortcode
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin253 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 36 | 199 |
Markdown | 1 | 33 | 0 | 43 |
CSS | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 9 | |
▷ Named functions | 9 | 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
2 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 71.57KB | 26.10KB | ▼ 63.53% |
screenshot-1.png | 57.65KB | 21.04KB | ▼ 63.51% |