Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.31ms] Passed 4 tests
Server-side resources used by WL Nordpool
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 50.27 ▲6.83 |
Dashboard /wp-admin | 3.48 ▲0.18 | 49.62 ▲2.63 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 47.39 ▼1.59 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.57 ▼8.02 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.51 ▲1.76 |
WL Nordpool /wp-admin/options-general.php?page=wl_nordpool_options | 3.37 | 30.78 |
All Items /wp-admin/edit.php?post_type=wl_embed | 3.44 | 37.84 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wl_embed | 3.40 | 33.45 |
Add New /wp-admin/post-new.php?post_type=wl_embed | 3.43 | 331.43 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
wl_nordpool_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WL Nordpool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲215 | 13.77 ▼0.53 | 8.02 ▲6.00 | 42.15 ▼7.56 |
Dashboard /wp-admin | 2,244 ▲56 | 5.96 ▲1.08 | 112.02 ▲4.07 | 44.80 ▼0.51 |
Posts /wp-admin/edit.php | 2,124 ▲38 | 2.07 ▲0.05 | 33.92 ▼1.96 | 34.44 ▲3.18 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.03 ▼0.22 | 635.94 ▼39.29 | 50.24 ▼2.40 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.24 ▲0.03 | 93.97 ▼8.61 | 41.12 ▼2.58 |
WL Nordpool /wp-admin/options-general.php?page=wl_nordpool_options | 832 | 2.05 | 25.03 | 26.57 |
All Items /wp-admin/edit.php?post_type=wl_embed | 1,093 | 1.95 | 31.27 | 33.18 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wl_embed | 1,342 | 2.13 | 25.51 | 28.23 |
Add New /wp-admin/post-new.php?post_type=wl_embed | 1,868 | 2.87 | 56.90 | 60.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wl_embed
- > Warning in wp-content/plugins/wl-nordpool/Nordpool.class.php+202
_() expects exactly 1 parameter, 2 given
- > GET request to /wp-admin/post-new.php?post_type=wl_embed
- > Warning in wp-content/plugins/wl-nordpool/Nordpool.class.php+263
Illegal string offset 'video'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wl_embed
- > Notice in wp-content/plugins/wl-nordpool/Nordpool.class.php+263
Uninitialized string offset: 0
- > GET request to /wp-admin/post-new.php?post_type=wl_embed
- > Warning in wp-content/plugins/wl-nordpool/Nordpool.class.php+263
Illegal string offset 'audio'
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 __() in wp-content/plugins/wl-nordpool/tags-helper.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: weblft, wl, nordpool
wl-nordpool/wl-nordpool.php 92% from 13 tests
The entry point to "WL Nordpool" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Git Repository: A Git repository was detected inside this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,137 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 114 | 65 | 785 |
PO File | 1 | 100 | 113 | 223 |
CSS | 2 | 27 | 10 | 127 |
JavaScript | 1 | 1 | 10 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 130.00 |
▷ Minimum class complexity | 130.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 42 | 97.67% |
▷ Protected methods | 1 | 2.33% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin