Benchmarks
Plugin footprint 65% 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.91MB] [CPU: ▼35.56ms] Passed 4 tests
A check of server-side resources used by FW Fussnoten
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.37 ▼7.63 |
Dashboard /wp-admin | 3.04 ▼0.30 | 25.81 ▼39.73 |
Posts /wp-admin/edit.php | 3.04 ▼0.31 | 27.23 ▼28.37 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.84 | 26.15 ▼63.53 |
Media Library /wp-admin/upload.php | 3.04 ▼0.18 | 23.16 ▼10.59 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=fussnote | 3.05 | 24.17 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=fussnote | 3.05 | 27.12 |
hinzufügen /wp-admin/post-new.php?post_type=fussnote | 3.04 | 21.80 |
Alle Fussnoten /wp-admin/edit.php?post_type=fussnote | 3.04 | 27.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
category_children |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FW Fussnoten
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.72 ▼0.64 | 2.12 ▲0.10 | 44.50 ▲2.41 |
Dashboard /wp-admin | 2,239 ▲57 | 4.82 ▼1.05 | 99.48 ▼15.09 | 41.15 ▼2.49 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.05 ▲0.02 | 36.25 ▼4.50 | 35.91 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.45 ▲0.45 | 681.26 ▲61.59 | 62.37 ▲9.94 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.18 ▼0.06 | 97.03 ▼11.10 | 43.03 ▼5.86 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=fussnote | 1,476 | 2.14 | 27.98 | 33.90 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=fussnote | 1,337 | 2.14 | 28.09 | 29.07 |
hinzufügen /wp-admin/post-new.php?post_type=fussnote | 2,990 | 7.94 | 176.81 | 77.43 |
Alle Fussnoten /wp-admin/edit.php?post_type=fussnote | 1,183 | 1.99 | 33.08 | 32.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'fussnote_option_menu' not found or invalid function name
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- category_children
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=fussnote
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'fussnote_option_menu' not found or invalid function name
- > GET request to /wp-admin/post-new.php?post_type=fussnote
- > Notice in wp-content/plugins/fw-fussnoten/fwfussnoten.php+247
Undefined variable: fcontent
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fw-fussnoten/fwfussnoten.php:60
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: content, fussnoten
fw-fussnoten/fwfussnoten.php 92% from 13 tests
The main file in "FW Fussnoten" v. 0.6.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fw-fussnoten.php" instead of "fwfussnoten.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected192 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 96 | 92 | 192 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 12 | |
▷ Named functions | 12 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin