Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.30MB] [CPU: ▼2.18ms] Passed 4 tests
Server-side resources used by FinanzFeed-Netzwerk
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 45.25 ▲8.03 |
Dashboard /wp-admin | 3.69 ▲0.34 | 324.27 ▲261.63 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 42.59 ▼3.24 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 85.34 ▼12.85 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 35.94 ▼0.64 |
FinanzFeed Netzwerk /wp-admin/options-general.php?page=fcn-network-plugin | 3.49 | 32.61 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_fcn_geldmag_widget |
widget_theysaidso_widget |
widget_fcn_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for FinanzFeed-Netzwerk
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲155 | 13.49 ▼0.78 | 16.89 ▲15.20 | 46.52 ▲4.90 |
Dashboard /wp-admin | 2,241 ▲64 | 5.64 ▲0.08 | 92.63 ▼10.22 | 39.26 ▼3.30 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 33.54 ▼10.42 | 32.44 ▼9.38 |
Add New Post /wp-admin/post-new.php | 1,538 ▲9 | 18.11 ▼5.00 | 588.07 ▼39.73 | 62.21 ▼0.09 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.22 ▲0.05 | 102.92 ▲6.55 | 42.28 ▲2.46 |
FinanzFeed Netzwerk /wp-admin/options-general.php?page=fcn-network-plugin | 1,093 | 2.02 | 22.80 | 30.22 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- widget_fcn_geldmag_widget
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_fcn_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/finanzfeed-netzwerk/service/fcn_statistics_rest_service.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: aktien, vermgensaufbau, investieren, geldanlage, immobilien...
finanzfeed-netzwerk/FinanzFeedNetzwerk.php 85% from 13 tests
The main PHP script in "FinanzFeed-Netzwerk" version 1.6.3 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("finanzfeed-netzwerk.php" instead of "FinanzFeedNetzwerk.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,599 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 315 | 246 | 1,569 |
HTML | 1 | 1 | 0 | 28 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 62 | |
▷ Named functions | 59 | 95.16% |
▷ Anonymous functions | 3 | 4.84% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.12MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/button_geldmag_orange.png | 2.03KB | 1.64KB | ▼ 19.42% |
assets/img/geldmag-cover-juli.png | 49.82KB | 45.84KB | ▼ 7.98% |
assets/img/button_geldmag_red.png | 2.03KB | 1.57KB | ▼ 22.59% |
assets/img/finanzfeed-logo.png | 18.33KB | 5.96KB | ▼ 67.52% |
assets/img/button_geldmag_green.png | 2.18KB | 1.72KB | ▼ 20.91% |