Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼6.30ms] Passed 4 tests
Analyzing server-side resources used by SureFeedback Client Site
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.60 ▼1.99 |
Dashboard /wp-admin | 3.46 ▲0.11 | 52.05 ▼11.67 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.78 ▲5.22 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.48 ▼11.68 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 33.60 ▲0.15 |
SureFeedback /wp-admin/options-general.php?page=feedback-connection-options | 3.35 | 32.72 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
ph_child_installed |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
SureFeedback Client Site: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲79 | 14.30 ▼0.11 | 1.74 ▼0.14 | 42.32 ▼1.88 |
Dashboard /wp-admin | 2,202 ▲24 | 5.63 ▲0.03 | 85.79 ▼28.96 | 36.31 ▼5.87 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.03 | 35.83 ▼3.52 | 30.04 ▼6.19 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.37 ▲0.29 | 662.45 ▲42.90 | 56.87 ▲7.70 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.25 ▲0.06 | 96.74 ▼9.87 | 41.39 ▼0.93 |
SureFeedback /wp-admin/options-general.php?page=feedback-connection-options | 877 | 1.98 | 22.82 | 28.79 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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× 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/projecthuddle-child-site/ph-child-functions.php:86
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 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
6 plugin tags: huddle, design, project, approval, child...
projecthuddle-child-site/ph-child.php 69% from 13 tests
The main PHP file in "SureFeedback Client Site" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("projecthuddle-child-site.php" instead of "ph-child.php")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
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 detected928 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 130 | 251 | 782 |
Markdown | 3 | 16 | 0 | 62 |
YAML | 3 | 2 | 0 | 48 |
XML | 1 | 5 | 2 | 18 |
SVG | 1 | 0 | 1 | 13 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin