Benchmarks
Plugin footprint Passed 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.14MB] [CPU: ▼296.97ms] Passed 4 tests
Analyzing server-side resources used by Extra Icons Plugin for Divi
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.19 | 56.11 ▲1.22 |
Dashboard /wp-admin | 3.54 ▲0.14 | 37.05 ▲3.64 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 40.99 ▲3.02 |
Add New Post /wp-admin/post-new.php | 7.07 ▲0.10 | 96.28 ▼1,192.39 |
Media Library /wp-admin/upload.php | 3.48 ▲0.19 | 30.95 ▲0.27 |
Divi Extra Icons /wp-admin/options-general.php?page=mrkwp-extra-icons-for-icon | 3.40 | 23.84 |
Server storage [IO: ▲3.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 73 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Extra Icons Plugin for Divi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,833 ▲87 | 15.83 ▲0.26 | 5.95 ▼0.40 | 2.68 ▲0.32 |
Dashboard /wp-admin | 2,919 ▲58 | 6.14 ▲0.05 | 125.94 ▼55.82 | 157.35 ▼33.59 |
Posts /wp-admin/edit.php | 2,719 ▲28 | 3.24 ▼0.01 | 68.96 ▼1.97 | 145.91 ▼90.67 |
Add New Post /wp-admin/post-new.php | 1,777 ▲66 | 22.98 ▲1.53 | 431.38 ▼19.59 | 166.16 ▼23.29 |
Media Library /wp-admin/upload.php | 1,725 ▲27 | 5.56 ▲0.04 | 146.18 ▲0.76 | 197.19 ▲5.84 |
Divi Extra Icons /wp-admin/options-general.php?page=mrkwp-extra-icons-for-icon | 1,047 | 2.41 | 56.64 | 105.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Tests/ServiceIteratorTest.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php:36
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/mrkwp-extra-icons-for-divi/resources/views/options/default.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Tests/Psr11/ServiceLocatorTest.php:39
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Tests/PimpleServiceProviderInterfaceTest.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php:36
- > PHP Fatal error
Uncaught Error: Interface 'Pimple\\ServiceProviderInterface' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Tests/Fixtures/PimpleServiceProvider.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/mrkwp-extra-icons-for-divi/vendor/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php:38
- > PHP Notice
Undefined variable: is_settings_updated in wp-content/plugins/mrkwp-extra-icons-for-divi/resources/views/options/default.php on line 3
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 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
2 plugin tags: icons, divi
mrkwp-extra-icons-for-divi/mrkwp-extra-icons-for-divi.php 85% from 13 tests
The main PHP script in "Extra Icons Plugin for Divi" version 2.1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 plugin18,723 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,026 |
CSS | 14 | 3,557 | 60 | 7,873 |
PHP | 37 | 411 | 996 | 1,724 |
reStructuredText | 1 | 94 | 135 | 97 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 2 | 8.00% |
Methods | 132 | |
▷ Static methods | 4 | 3.03% |
▷ Public methods | 131 | 99.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.76% |
Functions | 62 | |
▷ Named functions | 2 | 3.23% |
▷ Anonymous functions | 60 | 96.77% |
Constants | 3 | |
▷ Global constants | 3 | 100.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