Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼4.16ms] Passed 4 tests
Server-side resources used by FAQ with categories
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 39.84 ▲1.67 |
Dashboard /wp-admin | 3.55 ▲0.25 | 47.65 ▼2.94 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.83 ▲0.10 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 81.17 ▼15.46 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.47 ▲5.83 |
FAQ /wp-admin/edit.php?post_type=ruigehond010_faq | 3.53 | 37.72 |
Settings /wp-admin/admin.php?page=faq-with-categories-with-submenu-settings | 3.46 | 34.61 |
Order taxonomy /wp-admin/admin.php?page=faq-with-categories-with-submenu-order-taxonomy | 3.47 | 33.57 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ruigehond010_taxonomy_o |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
ruigehond010 |
Browser metrics Passed 4 tests
FAQ with categories: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲176 | 13.56 ▼0.95 | 8.42 ▲6.70 | 42.78 ▼3.72 |
Dashboard /wp-admin | 2,228 ▲51 | 5.60 ▲0.01 | 85.16 ▼14.95 | 38.96 ▼4.97 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.04 ▲0.02 | 40.75 ▲1.02 | 36.91 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.02 ▼0.16 | 684.39 ▲30.94 | 64.81 ▲9.89 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.22 ▲0.02 | 98.94 ▼2.56 | 41.64 ▲0.35 |
FAQ /wp-admin/edit.php?post_type=ruigehond010_faq | 1,144 | 1.98 | 34.92 | 30.25 |
Settings /wp-admin/admin.php?page=faq-with-categories-with-submenu-settings | 1,047 | 2.00 | 22.27 | 29.51 |
Order taxonomy /wp-admin/admin.php?page=faq-with-categories-with-submenu-order-taxonomy | 837 | 2.08 | 31.51 | 26.37 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: frequently, answers, faq, asked, categories...
faq-with-categories/faq-with-categories.php Passed 13 tests
The main file in "FAQ with categories" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
55 characters long description:
Easy to maintain FAQ and answer plugin with categories.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,317 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 94 | 282 | 1,083 |
JavaScript | 2 | 34 | 99 | 949 |
PO File | 1 | 48 | 55 | 195 |
CSS | 2 | 9 | 1 | 90 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 33.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 47 | 92.16% |
▷ Protected methods | 1 | 1.96% |
▷ Private methods | 3 | 5.88% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected