Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.88ms] Passed 4 tests
An overview of server-side resources used by Panda Pods Repeater Field
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.36 ▼1.68 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.42 ▼2.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.12 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.60 ▼0.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.61 ▼2.39 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Panda Pods Repeater Field
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,034 ▲273 | 13.64 ▼0.94 | 13.05 ▲11.43 | 43.44 ▲2.53 |
Dashboard /wp-admin | 2,208 ▲34 | 5.52 ▼0.13 | 79.07 ▼9.50 | 35.38 ▼13.22 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.98 ▼0.03 | 35.54 ▼0.19 | 33.08 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 22.75 ▼0.40 | 574.11 ▼98.65 | 47.72 ▼11.44 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.24 ▲0.03 | 94.44 ▼13.15 | 42.74 ▼5.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/panda-pods-repeater-field/fields/index.php
- > /wp-content/plugins/panda-pods-repeater-field/fields/pandarepeaterfield.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'PodsField' not found in wp-content/plugins/panda-pods-repeater-field/classes/class-podsfield-pandarepeaterfield.php:16
- > 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: repeater field, storage, pods
panda-pods-repeater-field/panda-pods-repeater-field.php 92% from 13 tests
"Panda Pods Repeater Field" version 1.5.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 615 characters long)
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
Everything looks great! No dangerous files found in this plugin5,272 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 597 | 1,056 | 3,222 |
CSS | 8 | 417 | 43 | 1,410 |
JavaScript | 2 | 96 | 52 | 473 |
PO File | 1 | 64 | 66 | 167 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 102.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 6.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 1 | 1.47% |
▷ Public methods | 67 | 98.53% |
▷ Protected methods | 1 | 1.47% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 9 | 90.00% |
▷ Class constants | 1 | 10.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/save-icon.png | 2.88KB | 1.47KB | ▼ 48.93% |
fields/images/arrow-down.png | 1.27KB | 0.47KB | ▼ 63.11% |
images/save-icon-tran.png | 2.95KB | 1.58KB | ▼ 46.29% |
fields/images/arrow-up.png | 1.26KB | 0.47KB | ▼ 62.59% |