Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.01ms] Passed 4 tests
This is a short check of server-side resources used by Finnish Internet black day
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.08 | 28.46 ▼11.46 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.89 ▼7.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.90 ▲2.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 111.51 ▲7.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.42 ▼3.44 |
Finnish Internet black day /wp-admin/options-general.php?page=finnish-internet-black-day/mustapaiva.php | 3.18 | 27.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Finnish Internet black day: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.65 ▼0.72 | 2.49 ▲0.69 | 38.28 ▼6.85 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.06 | 109.13 ▲4.53 | 44.15 ▼3.35 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.07 | 40.23 ▲3.07 | 37.41 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.41 ▼5.68 | 670.07 ▼4.91 | 58.85 ▲9.66 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.11 | 105.28 ▼4.23 | 47.41 ▲0.47 |
Finnish Internet black day /wp-admin/options-general.php?page=finnish-internet-black-day/mustapaiva.php | 867 | 2.06 | 22.47 | 29.97 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=finnish-internet-black-day/mustapaiva.php
- > Notice in wp-content/plugins/finnish-internet-black-day/mustapaiva.php+63
Trying to access array offset on value of type bool
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/finnish-internet-black-day/mustapaiva.php:12
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Donate link: Invalid URI ("")
finnish-internet-black-day/mustapaiva.php 85% from 13 tests
The main file in "Finnish Internet black day" v. 1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 160 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("finnish-internet-black-day.php" instead of "mustapaiva.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin181 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 8 | 112 |
JavaScript | 1 | 14 | 1 | 69 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 14 | |
▷ Named functions | 14 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected