Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.30ms] Passed 4 tests
An overview of server-side resources used by FrontKit for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.61 ▲2.45 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.34 ▼4.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 40.00 ▼15.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.55 ▼24.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.12 ▼0.97 |
Server storage [IO: ▲0.96MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by FrontKit for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.25 ▼0.10 | 1.74 ▼0.02 | 44.37 ▲5.25 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▼0.03 | 82.13 ▼4.12 | 43.42 ▼1.82 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 1.99 ▼0.00 | 33.96 ▼10.35 | 34.22 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.87 ▼0.14 | 613.32 ▼44.04 | 47.51 ▼4.66 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.18 ▼0.03 | 99.93 ▲1.39 | 41.77 ▼5.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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 everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/frontkit/includes/class-frontkit-rest-post-autosave-controller.php:3
- > 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 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #4 in frontkit/assets to your readme.txt
frontkit/frontkit.php 92% from 13 tests
The main PHP script in "FrontKit for WordPress" version 1.0.0-alpha-2... is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1.0.0-alpha-2...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected17,843 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 4,783 | 9,147 | 17,381 |
PHP | 6 | 117 | 326 | 414 |
Markdown | 1 | 21 | 0 | 48 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 75.86% |
▷ Protected methods | 2 | 6.90% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin