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.02MB] [CPU: ▼7.50ms] Passed 4 tests
A check of server-side resources used by Informers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.10 ▼2.77 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.47 ▼1.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.04 ▼5.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.04 ▼20.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.88 ▼0.96 |
Fleetly Settings /wp-admin/options-general.php?page=fleetly | 3.19 | 29.76 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_ft_informer |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Informers: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.28 ▼0.22 | 1.75 ▼0.05 | 45.44 ▲1.16 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.03 | 93.92 ▲4.67 | 44.30 ▲3.14 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 36.14 ▼5.46 | 32.79 ▼9.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.49 ▲0.26 | 656.35 ▲39.92 | 59.14 ▲9.38 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.28 ▼0.00 | 98.83 ▼5.88 | 44.73 ▼2.81 |
Fleetly Settings /wp-admin/options-general.php?page=fleetly | 897 | 2.18 | 23.61 | 32.71 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_ft_informer
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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
- > GET request to /wp-admin/options-general.php?page=fleetly
- > Notice in wp-content/plugins/fleetly-informers/index.php+112
Undefined index: ft_test_url
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
Everything seems fine, however this is by no means an exhaustive 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== fleetly-informers ===
)
fleetly-informers/index.php 92% from 13 tests
The main file in "Informers" v. 1.1.0 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: Name the main plugin file the same as the plugin slug ("fleetly-informers.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected702 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 177 | 222 | 557 |
PO File | 2 | 40 | 42 | 126 |
CSS | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This is a short overview 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.22 |
Average class complexity | 5.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 13 | |
▷ Named functions | 9 | 69.23% |
▷ Anonymous functions | 4 | 30.77% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin