Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.01ms] Passed 4 tests
An overview of server-side resources used by WPIT GANTT
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.29 ▲3.14 |
Dashboard /wp-admin | 3.39 ▲0.08 | 50.59 ▼3.54 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.54 ▼3.05 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.49 ▼0.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.94 ▲4.41 |
Manage Charts /wp-admin/admin.php?page=gantt-manage | 3.27 | 35.84 |
Settings /wp-admin/admin.php?page=gantt-settings | 3.25 | 34.99 |
Gantt Charts /wp-admin/options-general.php?page=myplugin | 3.25 | 32.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPIT GANTT
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.32 ▼1.29 | 1.82 ▼0.02 | 45.11 ▲5.69 |
Dashboard /wp-admin | 2,237 ▲49 | 4.84 ▼0.07 | 105.01 ▼1.46 | 39.01 ▼9.88 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.02 ▲0.00 | 39.44 ▲0.95 | 36.84 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,558 ▲39 | 23.16 ▲0.04 | 646.41 ▲21.31 | 59.98 ▲8.35 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.26 ▲0.07 | 99.92 ▼6.23 | 47.67 ▲3.36 |
Manage Charts /wp-admin/admin.php?page=gantt-manage | 847 | 2.03 | 24.33 | 24.82 |
Settings /wp-admin/admin.php?page=gantt-settings | 810 | 2.03 | 25.04 | 27.45 |
Gantt Charts /wp-admin/options-general.php?page=myplugin | 813 | 2.06 | 24.42 | 27.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=myplugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=myplugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpit-gantt/wpit-gantt.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpit-gantt/files/wpit-gantt-start.php:439
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wpit-gantt/files/wpit-gantt-functions.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (This is a sample Gantt chart) image not found
wpit-gantt/wpit-gantt.php Passed 13 tests
The entry point to "WPIT GANTT" version 1.1 is a PHP file that has certain tags in its header comment area
75 characters long description:
This plugin allow you to create and insert GANTT chart into pages and posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,612 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 398 | 168 | 1,023 |
CSS | 3 | 72 | 40 | 329 |
Sass | 2 | 30 | 0 | 260 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 7.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 118 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin