Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.88MB] [CPU: ▲5.93ms] Passed 4 tests
An overview of server-side resources used by Ipdata Integration Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.92 | 47.17 ▲6.60 |
Dashboard /wp-admin | 4.20 ▲0.89 | 52.33 ▲2.21 |
Posts /wp-admin/edit.php | 4.25 ▲0.89 | 57.42 ▲7.79 |
Add New Post /wp-admin/post-new.php | 8.58 ▲2.70 | 126.08 ▲33.39 |
Media Library /wp-admin/upload.php | 4.06 ▲0.83 | 44.06 ▲7.10 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 495 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Ipdata Integration Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.61 ▼0.63 | 4.58 ▲2.73 | 42.85 ▼0.20 |
Dashboard /wp-admin | 2,225 ▲34 | 5.07 ▼0.83 | 110.86 ▲2.24 | 41.67 ▲1.27 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.05 ▲0.00 | 40.72 ▲6.08 | 35.25 ▼1.50 |
Add New Post /wp-admin/post-new.php | 6,409 ▲4,895 | 20.34 ▲2.67 | 913.49 ▲227.51 | 55.14 ▲4.60 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.21 ▼0.01 | 100.18 ▲1.46 | 41.56 ▼3.01 |
Uninstaller [IO: ▲0.02MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ipdata/ipdata.php
- 217× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AlexDashkin\\Adwpfw\\Items\\Item' not found in wp-content/plugins/ipdata/vendor/alexdashkin/adwpfw/src/Items/Asset.php:11
- > PHP Fatal error
Uncaught Error: Class 'AlexDashkin\\Adwpfw\\Modules\\ModuleWithItems' not found in wp-content/plugins/ipdata/vendor/alexdashkin/adwpfw/src/Modules/Sidebars.php:12
- > PHP Fatal error
Uncaught Error: Class 'AlexDashkin\\Adwpfw\\Fields\\Field' not found in wp-content/plugins/ipdata/vendor/alexdashkin/adwpfw/src/Fields/Actions.php:11
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Node/SandboxNode.php:21
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Profiler\\Dumper\\BaseDumper' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Profiler/Dumper/TextDumper.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\Loader\\LoaderInterface' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Loader/SourceContextLoaderInterface.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Error\\Error' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Sandbox/SecurityError.php:21
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Node/ForLoopNode.php:21
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\FilterExpression' not found in wp-content/plugins/ipdata/vendor/twig/twig/src/Node/Expression/Filter/DefaultFilter.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3 in ipdata/assets to your readme.txt
ipdata/ipdata.php 92% from 13 tests
The main PHP file in "Ipdata Integration Plugin" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 184 characters long)
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
Good job! No executable or dangerous file extensions detected20,838 lines of code in 489 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 456 | 4,714 | 8,184 | 20,099 |
JSON | 6 | 0 | 0 | 444 |
Twig | 23 | 156 | 0 | 276 |
Markdown | 2 | 8 | 0 | 17 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 5.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 14 | |
Traits | 0 | |
Classes | 428 | |
▷ Abstract classes | 24 | 5.61% |
▷ Concrete classes | 404 | 94.39% |
▷ Final classes | 51 | 12.62% |
Methods | 1,240 | |
▷ Static methods | 89 | 7.18% |
▷ Public methods | 1,048 | 84.52% |
▷ Protected methods | 95 | 7.66% |
▷ Private methods | 97 | 7.82% |
Functions | 123 | |
▷ Named functions | 99 | 80.49% |
▷ Anonymous functions | 24 | 19.51% |
Constants | 56 | |
▷ Global constants | 7 | 12.50% |
▷ Class constants | 49 | 87.50% |
▷ Public constants | 49 | 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
PNG images were not found in this plugin