Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/nje-box-title-link-widget/nje-box-title-link-widget.php+143
Function create_function() is deprecated
Server metrics [RAM: ▼1.90MB] [CPU: ▼50.41ms] Passed 4 tests
An overview of server-side resources used by NJE Box Title Link Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.38 | 5.43 ▼34.96 |
Dashboard /wp-admin | 2.11 ▼1.20 | 5.75 ▼37.97 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.06 ▼47.71 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 7.04 ▼81.00 |
Media Library /wp-admin/upload.php | 2.11 ▼1.13 | 5.16 ▼33.90 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_nje_box_title_link_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for NJE Box Title Link Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.72 ▲0.25 | 1.84 ▲0.28 | 42.57 ▲2.97 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.07 | 84.39 ▼8.08 | 38.53 ▼2.12 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.05 ▲0.03 | 40.23 ▼1.13 | 37.80 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.08 ▲0.05 | 681.36 ▼1.13 | 53.50 ▼7.24 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▲0.08 | 98.62 ▼22.57 | 43.85 ▼6.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/nje-box-title-link-widget/nje-box-title-link-widget.php+143
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_nje_box_title_link_widget
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/nje-box-title-link-widget/nje-box-title-link-widget.php:11
- > PHP Fatal error
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 Passed 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
1 plugin tags: widget
nje-box-title-link-widget/nje-box-title-link-widget.php Passed 13 tests
"NJE Box Title Link Widget" version 1.4.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
109 characters long description:
A simple plugin that lets user add a widget that includes a box with title, link, button text and description
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
Success! There were no dangerous files found in this plugin141 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 35 | 99 |
CSS | 1 | 1 | 16 | 42 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin