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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.70ms] Passed 4 tests
Analyzing server-side resources used by WPFY FAQ Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.81 ▼6.35 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.98 ▼6.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.45 ▼0.64 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.67 ▼13.30 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.01 ▼0.79 |
WPFY Scroller /wp-admin/options-general.php?page=wpfy-scroller-settings-page | 3.23 | 35.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPFY FAQ Block
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲139 | 13.60 ▼0.75 | 8.75 ▲7.01 | 41.27 ▼6.53 |
Dashboard /wp-admin | 2,215 ▲44 | 5.75 ▲0.22 | 85.97 ▼13.79 | 39.36 ▼9.36 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.29 ▲0.28 | 40.89 ▲1.44 | 35.94 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 23.40 ▲0.37 | 667.38 ▼10.61 | 37.91 ▼29.60 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.55 ▲0.40 | 113.31 ▼4.66 | 48.05 ▼0.54 |
WPFY Scroller /wp-admin/options-general.php?page=wpfy-scroller-settings-page | 955 | 2.35 | 45.68 | 26.97 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Screenshot-1.png), #2 (Screenshot-2.png)
wpfy-faq-block/wpfy-scroller.php 77% from 13 tests
The main PHP file in "WPFY FAQ Block" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpfy-faq-block.php" instead of "wpfy-scroller.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin187 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 17 | 129 |
CSS | 1 | 4 | 5 | 37 |
JavaScript | 2 | 0 | 1 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin