Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼305.10ms] Passed 4 tests
A check of server-side resources used by Functionality for nickel theme
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 59.35 ▲3.76 |
Dashboard /wp-admin | 3.43 ▲0.03 | 38.05 ▼26.00 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 55.97 ▲4.21 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 96.54 ▼1,196.91 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 29.53 ▼1.25 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_nickel-directory-social |
Browser metrics Passed 4 tests
Checking browser requirements for Functionality for nickel theme
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,876 ▲122 | 16.60 ▲1.03 | 8.82 ▲2.48 | 2.07 ▼0.49 |
Dashboard /wp-admin | 2,896 ▲35 | 6.06 ▼0.09 | 113.01 ▼23.59 | 160.43 ▼3.76 |
Posts /wp-admin/edit.php | 2,677 ▼11 | 3.24 ▲0.01 | 79.64 ▼17.19 | 143.60 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,785 ▲124 | 16.82 ▲1.30 | 412.42 ▼6.53 | 195.76 ▲46.14 |
Media Library /wp-admin/upload.php | 1,694 ▼4 | 5.53 ▲0.00 | 143.73 ▲9.13 | 191.05 ▲7.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_nickel-directory-social
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/functionality-for-nickel-theme/includes/widgets/widget-recent-posts-plus.php
- > /wp-content/plugins/functionality-for-nickel-theme/admin/partials/nickel-functionality-admin-display.php
- > /wp-content/plugins/functionality-for-nickel-theme/public/partials/nickel-functionality-public-display.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-nickel-theme/includes/widgets/widget-about-author.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-nickel-theme/includes/widgets/widget-followers.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-nickel-theme/includes/widgets/widget-fast-flickr.php:26
- > 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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: nickel, ecommerce
functionality-for-nickel-theme/functionality-for-nickel-theme.php Passed 13 tests
The main file in "Functionality for nickel theme" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
52 characters long description:
This plugin contains Nickel theme core functionality
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,454 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 577 | 1,005 | 2,240 |
PO File | 1 | 71 | 153 | 161 |
CSS | 2 | 13 | 8 | 47 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 2 | 8.70% |
▷ Concrete classes | 21 | 91.30% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 13 | 10.57% |
▷ Public methods | 105 | 85.37% |
▷ Protected methods | 2 | 1.63% |
▷ Private methods | 16 | 13.01% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin