Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼306.51ms] Passed 4 tests
This is a short check of server-side resources used by Multisite FAQS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.04 | 69.14 ▲12.72 |
Dashboard /wp-admin | 3.47 ▲0.06 | 35.55 ▼1.67 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 41.21 ▼3.04 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 163.22 ▼1,215.65 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 34.37 ▼5.66 |
Add New /wp-admin/post-new.php?post_type=faq | 3.68 | 50.20 |
Groups /wp-admin/edit-tags.php?taxonomy=faq-group&post_type=faq | 3.35 | 29.95 |
Settings /wp-admin/edit.php?post_type=faq&page=multisite_faqs | 3.32 | 31.84 |
FAQs /wp-admin/edit.php?post_type=faq | 3.46 | 26.02 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 1 new option
New WordPress options |
---|
multisite_faqs_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multisite FAQS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,843 ▲121 | 16.08 ▲0.03 | 6.73 ▲0.77 | 2.15 ▲0.06 |
Dashboard /wp-admin | 2,953 ▲92 | 7.00 ▲0.76 | 116.58 ▼22.42 | 153.61 ▼80.52 |
Posts /wp-admin/edit.php | 2,751 ▲63 | 3.56 ▲0.32 | 64.38 ▼4.84 | 154.60 ▲9.66 |
Add New Post /wp-admin/post-new.php | 1,709 ▲48 | 16.86 ▲0.17 | 413.48 ▼17.38 | 213.96 ▲33.58 |
Media Library /wp-admin/upload.php | 1,762 ▲64 | 6.07 ▲0.61 | 112.46 ▼33.58 | 183.01 ▼4.38 |
Add New /wp-admin/post-new.php?post_type=faq | 2,955 | 10.49 | 185.85 | 193.14 |
Groups /wp-admin/edit-tags.php?taxonomy=faq-group&post_type=faq | 1,686 | 3.33 | 58.67 | 124.03 |
Settings /wp-admin/edit.php?post_type=faq&page=multisite_faqs | 2,481 | 3.67 | 97.37 | 143.39 |
FAQs /wp-admin/edit.php?post_type=faq | 1,436 | 3.27 | 60.18 | 125.91 |
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
- Zombie WordPress options detected upon uninstall: 1 option
- multisite_faqs_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: multisite faqs, grouped faqs, filtered faqs, faqs, faq...
multisite-faqs/multisite-faqs.php Passed 13 tests
The entry point to "Multisite FAQS" version 1.0 is a PHP file that has certain tags in its header comment area
70 characters long description:
Manage and Consolidate FAQs across a Wordpress Multisite Installation.
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
Good job! No executable or dangerous file extensions detected1,970 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 304 | 707 | 1,070 |
SVG | 1 | 0 | 0 | 565 |
PO File | 1 | 61 | 69 | 146 |
LESS | 2 | 10 | 6 | 82 |
CSS | 4 | 0 | 13 | 71 |
JavaScript | 2 | 5 | 9 | 36 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 19.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 3 | 5.66% |
▷ Public methods | 40 | 75.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 24.53% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin