Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼138.98ms] Passed 4 tests
A check of server-side resources used by Conversion Optimization by 40Nuggets
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.12 | 49.02 ▲18.34 |
Dashboard /wp-admin | 3.24 ▲0.19 | 60.37 ▲14.27 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 44.45 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.10 | 89.15 ▼567.00 |
Media Library /wp-admin/upload.php | 3.12 ▲0.12 | 31.34 ▼1.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 2 new options
New WordPress options |
---|
Fortynuggets_Plugin__version |
Fortynuggets_Plugin__installed |
Browser metrics Passed 4 tests
An overview of browser requirements for Conversion Optimization by 40Nuggets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.98 ▼0.02 | 15.33 ▲5.93 | 52.63 ▲0.73 |
Dashboard /wp-admin | 2,985 ▲51 | 5.94 ▼0.10 | 155.34 ▲5.33 | 149.90 ▲47.78 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 2.70 ▼0.02 | 63.00 ▼5.30 | 90.27 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,701 ▲29 | 18.51 ▼0.36 | 408.05 ▲17.84 | 109.15 ▼0.95 |
Media Library /wp-admin/upload.php | 1,775 ▼32 | 5.02 ▼0.02 | 143.58 ▼19.26 | 143.53 ▲25.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/40nuggets/Fortynuggets_Plugin.php+114
Trying to get property 'id' of non-object
- Zombie WordPress options detected upon uninstall: 2 options
- Fortynuggets_Plugin__installed
- Fortynuggets_Plugin__version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: form-action in wp-content/plugins/40nuggets/login.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/40nuggets/fortynuggets.php:67
- > PHP Fatal error
Uncaught Error: Class 'Fortynuggets_Plugin' not found in wp-content/plugins/40nuggets/login.php:80
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (87 tag instead of maximum 10)
40nuggets/fortynuggets.php 85% from 13 tests
The principal PHP file in "Conversion Optimization by 40Nuggets" v. 0.6.8 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("40nuggets.php" instead of "fortynuggets.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 detected895 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 200 | 498 | 889 |
JavaScript | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 9.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 2 | 28.57% |
▷ Concrete classes | 5 | 71.43% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 62.35% |
▷ Protected methods | 25 | 29.41% |
▷ Private methods | 7 | 8.24% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected