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.02MB] [CPU: ▼8.93ms] Passed 4 tests
Server-side resources used by Infinity Simple FAQ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 64.53 ▼6.69 |
Dashboard /wp-admin | 3.32 ▲0.02 | 80.63 ▼13.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 78.23 ▼15.47 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 147.55 ▲7.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 57.88 ▼0.40 |
FAQs /wp-admin/edit.php?post_type=ifs-faq | 3.29 | 62.13 |
Add New /wp-admin/post-new.php?post_type=ifs-faq | 3.38 | 82.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Infinity Simple FAQ
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲100 | 14.30 ▲0.27 | 3.90 ▲0.87 | 77.50 ▲0.70 |
Dashboard /wp-admin | 2,233 ▲48 | 5.86 ▼0.04 | 175.54 ▼8.09 | 87.39 ▲1.50 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.05 ▲0.04 | 63.30 ▼8.73 | 68.21 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,437 ▲40 | 17.51 ▼0.21 | 882.47 ▼108.14 | 73.70 ▲0.61 |
Media Library /wp-admin/upload.php | 1,412 ▲30 | 4.19 ▲0.02 | 175.58 ▼4.06 | 88.13 ▼11.85 |
FAQs /wp-admin/edit.php?post_type=ifs-faq | 1,080 | 1.98 | 58.66 | 58.56 |
Add New /wp-admin/post-new.php?post_type=ifs-faq | 2,166 | 7.60 | 308.29 | 115.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means 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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinity-simple-faq/ifs-faq-type.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/infinity-simple-faq/plugin-hook.php:15
- > PHP Fatal error
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 83% from 29 tests
readme.txt 75% 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
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #1 in infinity-simple-faq/assets to your readme.txt
- Requires at least: Invalid plugin version format
- Contributors: The plugin contributors field is not present
- Donate link: Invalid URI found ("")
infinity-simple-faq/plugin-hook.php 92% from 13 tests
"Infinity Simple FAQ" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("infinity-simple-faq.php" instead of "plugin-hook.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected160 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 30 | 28 | 160 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin