Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.97MB] [CPU: ▲4.62ms] Passed 4 tests
A check of server-side resources used by Eonet Project Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.43 ▲1.97 | 52.42 ▲12.23 |
Dashboard /wp-admin | 5.27 ▲1.97 | 51.92 ▲0.16 |
Posts /wp-admin/edit.php | 5.32 ▲1.97 | 55.71 ▲9.94 |
Add New Post /wp-admin/post-new.php | 7.87 ▲1.99 | 103.03 ▲0.87 |
Media Library /wp-admin/upload.php | 5.19 ▲1.96 | 43.23 ▲7.49 |
Project Manager /wp-admin/admin.php?page=?page=eonet&eo_settings=project-manager | 4.96 | 31.57 |
Add New /wp-admin/post-new.php?post_type=eonet_project | 5.35 | 62.30 |
All Projects /wp-admin/edit.php?post_type=eonet_project | 5.24 | 44.24 |
Eonet /wp-admin/admin.php?page=eonet | 5.23 | 37.44 |
Categories /wp-admin/edit-tags.php?taxonomy=project-category&post_type=eonet_project | 5.19 | 42.25 |
Server storage [IO: ▲3.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 115 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eonet Project Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,997 ▲262 | 14.59 ▲0.22 | 8.41 ▲6.78 | 38.80 ▼2.32 |
Dashboard /wp-admin | 2,267 ▲75 | 5.55 ▲0.58 | 106.72 ▲0.38 | 88.77 ▲42.35 |
Posts /wp-admin/edit.php | 2,168 ▲79 | 2.18 ▲0.17 | 42.68 ▲7.93 | 49.25 ▲12.05 |
Add New Post /wp-admin/post-new.php | 1,578 ▲43 | 18.19 ▼5.13 | 617.93 ▲30.74 | 32.47 ▼18.58 |
Media Library /wp-admin/upload.php | 1,467 ▲79 | 4.76 ▲0.59 | 100.91 ▲3.83 | 97.53 ▲54.97 |
Project Manager /wp-admin/admin.php?page=?page=eonet&eo_settings=project-manager | 28 | 0.44 | 0.07 | 3.96 |
Add New /wp-admin/post-new.php?post_type=eonet_project | 2,970 | 7.80 | 190.56 | 118.83 |
All Projects /wp-admin/edit.php?post_type=eonet_project | 1,200 | 2.33 | 39.39 | 57.37 |
Eonet /wp-admin/admin.php?page=eonet | 1,173 | 2.10 | 31.07 | 53.66 |
Categories /wp-admin/edit-tags.php?taxonomy=project-category&post_type=eonet_project | 1,338 | 2.51 | 32.54 | 47.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 28× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/eonet-project-manager/core/bootstrap.php
- > /wp-content/plugins/eonet-project-manager/component-project-manager/classes/Eonet_PM_TasksCollection.php
- > /wp-content/plugins/eonet-project-manager/component-project-manager/classes/Eonet_PM_MembersCollection.php
- > /wp-content/plugins/eonet-project-manager/component-project-manager/EonetProjectManager.php
- > /wp-content/plugins/eonet-project-manager/core/admin/EonetAdmin.php
- > /wp-content/plugins/eonet-project-manager/component-project-manager/classes/Eonet_PM_TemplateLoader.php
- > /wp-content/plugins/eonet-project-manager/core/admin/pages/EonetPageThemes.php
- > /wp-content/plugins/eonet-project-manager/component-project-manager/classes/Eonet_PM_ProjectPermission.php
- > /wp-content/plugins/eonet-project-manager/component-project-manager/classes/Eonet_PM_Security.php
- > /wp-content/plugins/eonet-project-manager/core/Eonet.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-project-manager/core/admin/pages/views/extensions.php:3
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-project-manager/core/admin/views/wrapper.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/eonet-project-manager/component-project-manager/metaboxes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/eonet-project-manager/component-project-manager/include/eonet-frontend-publisher-functions.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eonet-project-manager/core/admin/pages/views/support.php:1
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-project-manager/core/admin/pages/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eonet-project-manager/component-project-manager/include/metabox-tasks-functions.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eonet-project-manager/component-project-manager/include/template-functions.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_pages() in wp-content/plugins/eonet-project-manager/component-project-manager/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\Admin\\EonetAdmin' not found in wp-content/plugins/eonet-project-manager/core/admin/pages/views/themes.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=?page=eonet&eo_settings=project-manager
- > Network (severe)
wp-admin/admin.php?page=?page=eonet&eo_settings=project-manager - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: projects manager, projects, todo, tasks, basecamp...
eonet-project-manager/init.php 85% from 13 tests
The entry point to "Eonet Project Manager" version 1.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: The principal plugin file should be the same as the plugin slug ("eonet-project-manager.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected21,753 lines of code in 90 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 63 | 1,773 | 2,311 | 13,694 |
SVG | 2 | 0 | 3 | 4,898 |
Sass | 15 | 72 | 11 | 2,254 |
JavaScript | 6 | 322 | 271 | 903 |
CSS | 4 | 3 | 82 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 1 | 4.00% |
▷ Concrete classes | 24 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 226 | |
▷ Static methods | 47 | 20.80% |
▷ Public methods | 183 | 80.97% |
▷ Protected methods | 35 | 15.49% |
▷ Private methods | 8 | 3.54% |
Functions | 59 | |
▷ Named functions | 59 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.53MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/images/colorpicker/alpha.png | 0.48KB | 1.68KB | 0.00% |
core/assets/images/menu_icon.png | 1.94KB | 1.28KB | ▼ 34.04% |
core/assets/images/themes/woffice.png | 446.42KB | 194.26KB | ▼ 56.48% |
core/assets/images/connections_left.png | 32.13KB | 15.77KB | ▼ 50.90% |
core/assets/images/colorpicker/hue.png | 0.49KB | 0.50KB | 0.00% |