Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/maxicharts/maxicharts.php+192
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.85MB] [CPU: ▼50.55ms] Passed 4 tests
An overview of server-side resources used by MaxiCharts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 5.24 ▼32.74 |
Dashboard /wp-admin | 2.15 ▼1.15 | 11.21 ▼40.25 |
Posts /wp-admin/edit.php | 2.15 ▼1.20 | 8.37 ▼40.10 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.73 | 5.94 ▼89.11 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 6.82 ▼27.13 |
MaxiCharts /wp-admin/options-general.php?page=maxicharts-setting-admin | 2.15 | 6.96 |
Server storage [IO: ▲5.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 606 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for MaxiCharts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲151 | 14.26 ▼0.28 | 12.16 ▲10.71 | 40.64 ▲3.40 |
Dashboard /wp-admin | 2,196 ▲16 | 5.51 ▼0.19 | 88.78 ▼4.50 | 37.67 ▼6.45 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.06 | 39.60 ▲2.70 | 37.16 ▲2.30 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.06 ▲4.71 | 664.91 ▲41.42 | 53.76 ▼1.28 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▼0.02 | 95.25 ▼4.97 | 40.21 ▼4.44 |
MaxiCharts /wp-admin/options-general.php?page=maxicharts-setting-admin | 797 | 2.00 | 23.28 | 27.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/maxicharts/maxicharts.php+192
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=maxicharts-setting-admin
- > Notice in wp-content/plugins/maxicharts/maxicharts.php+192
Trying to access array offset on value of type bool
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/maxicharts/libs/vendor/apache/log4php/package.php
- 66× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'LoggerConfigurable' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/LoggerFilter.php:56
- > PHP Fatal error
Uncaught Error: Class 'LoggerPatternConverterSuperglobal' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterSession.php:33
- > PHP Fatal error
Uncaught Error: Class 'LoggerPatternConverter' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterDate.php:35
- > PHP Fatal error
Uncaught Error: Interface 'LoggerConfigurationAdapter' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/configurators/LoggerConfigurationAdapterXML.php:30
- > PHP Fatal error
Uncaught Error: Interface 'LoggerConfigurationAdapter' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/configurators/LoggerConfigurationAdapterINI.php:33
- > PHP Fatal error
Uncaught Error: Class 'LoggerAppender' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/appenders/LoggerAppenderSocket.php:37
- > PHP Fatal error
Uncaught Error: Class 'LoggerLayout' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/layouts/LoggerLayoutTTCC.php:54
- > PHP Fatal error
Uncaught Error: Class 'LoggerAppender' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/appenders/LoggerAppenderMailEvent.php:43
- > PHP Fatal error
Uncaught Error: Class 'LoggerPatternConverter' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterLiteral.php:29
- > PHP Fatal error
Uncaught Error: Class 'LoggerConfigurable' not found in wp-content/plugins/maxicharts/libs/vendor/apache/log4php/src/main/php/LoggerAppender.php:27
- > 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 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #4, #5 in maxicharts/assets to your readme.txt
- Tags: You are using too many tags: 27 tag instead of maximum 10
maxicharts/maxicharts.php Passed 13 tests
This is the main PHP file of "MaxiCharts" version 1.7.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
122 characters long description:
Create beautiful interactive HTML5 charts from Gravity Forms / CSV into your posts with a simple shortcode. Uses chart.js.
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 plugin97,768 lines of code in 581 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 397 | 10,767 | 7,520 | 83,860 |
PHP | 117 | 1,949 | 7,611 | 7,889 |
HTML | 12 | 131 | 0 | 1,947 |
JSON | 20 | 0 | 0 | 1,362 |
Markdown | 17 | 580 | 0 | 1,200 |
TypeScript | 4 | 166 | 281 | 598 |
Maven | 1 | 30 | 21 | 305 |
XML | 5 | 17 | 72 | 247 |
Ant | 1 | 19 | 30 | 140 |
CSS | 4 | 14 | 21 | 134 |
DTD | 1 | 25 | 54 | 69 |
YAML | 2 | 1 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 227.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 5 | |
Traits | 7 | |
Classes | 99 | |
▷ Abstract classes | 9 | 9.09% |
▷ Concrete classes | 90 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 720 | |
▷ Static methods | 80 | 11.11% |
▷ Public methods | 608 | 84.44% |
▷ Protected methods | 60 | 8.33% |
▷ Private methods | 52 | 7.22% |
Functions | 22 | |
▷ Named functions | 3 | 13.64% |
▷ Anonymous functions | 19 | 86.36% |
Constants | 64 | |
▷ Global constants | 5 | 7.81% |
▷ Class constants | 59 | 92.19% |
▷ Public constants | 59 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected