Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/orbis/includes/log.php+46
Methods with the same name as their class will not be constructors in a future version of PHP; Orbis_Log_Widget has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼53.86ms] Passed 4 tests
A check of server-side resources used by Orbis
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.25 | 5.27 ▼37.59 |
Dashboard /wp-admin | 2.23 ▼1.07 | 5.65 ▼45.32 |
Posts /wp-admin/edit.php | 2.23 ▼1.12 | 6.88 ▼42.76 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.65 | 5.97 ▼89.76 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 6.13 ▼27.74 |
Orbis /wp-admin/admin.php?page=orbis | 2.23 | 5.63 |
Add New /wp-admin/post-new.php?post_type=orbis_person | 2.23 | 7.23 |
All Projects /wp-admin/edit.php?post_type=orbis_project | 2.23 | 6.87 |
Categories /wp-admin/edit-tags.php?taxonomy=orbis_company_category&post_type=orbis_company | 2.23 | 7.24 |
Stats /wp-admin/admin.php?page=orbis_stats | 2.23 | 6.62 |
Add New /wp-admin/post-new.php?post_type=orbis_company | 2.23 | 7.40 |
Plugins /wp-admin/admin.php?page=orbis_plugins | 2.23 | 6.73 |
All Persons /wp-admin/edit.php?post_type=orbis_person | 2.23 | 6.82 |
Categories /wp-admin/edit-tags.php?taxonomy=orbis_project_category&post_type=orbis_project | 2.23 | 6.29 |
Categories /wp-admin/edit-tags.php?taxonomy=orbis_person_category&post_type=orbis_person | 2.23 | 8.63 |
Server storage [IO: ▲1.83MB] [DB: ▲0.09MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 180 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_orbis_companies |
wp_orbis_projects |
wp_orbis_log |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
orbis_db_version |
widget_orbis-log |
Browser metrics Passed 4 tests
Checking browser requirements for Orbis
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,088 ▲353 | 14.22 ▼0.16 | 7.28 ▲5.67 | 41.41 ▼2.73 |
Dashboard /wp-admin | 2,359 ▲171 | 5.28 ▲0.43 | 102.28 ▲4.14 | 76.09 ▲30.11 |
Posts /wp-admin/edit.php | 2,237 ▲148 | 2.33 ▲0.32 | 35.29 ▼3.55 | 31.86 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,796 ▲263 | 22.86 ▲4.54 | 699.93 ▲84.53 | 35.92 ▼31.06 |
Media Library /wp-admin/upload.php | 1,533 ▲148 | 4.60 ▲0.40 | 101.94 ▲5.07 | 96.60 ▲49.68 |
Orbis /wp-admin/admin.php?page=orbis | 1,009 | 2.13 | 27.06 | 27.86 |
Add New /wp-admin/post-new.php?post_type=orbis_person | 2,914 | 8.12 | 189.91 | 152.53 |
All Projects /wp-admin/edit.php?post_type=orbis_project | 1,282 | 2.32 | 34.16 | 36.13 |
Categories /wp-admin/edit-tags.php?taxonomy=orbis_company_category&post_type=orbis_company | 1,426 | 2.32 | 33.09 | 39.06 |
Stats /wp-admin/admin.php?page=orbis_stats | 1,090 | 2.25 | 27.40 | 30.55 |
Add New /wp-admin/post-new.php?post_type=orbis_company | 2,976 | 8.03 | 186.79 | 132.89 |
Plugins /wp-admin/admin.php?page=orbis_plugins | 1,024 | 2.21 | 39.07 | 34.26 |
All Persons /wp-admin/edit.php?post_type=orbis_person | 1,261 | 2.29 | 32.43 | 35.67 |
Categories /wp-admin/edit-tags.php?taxonomy=orbis_project_category&post_type=orbis_project | 1,426 | 2.20 | 30.03 | 31.94 |
Categories /wp-admin/edit-tags.php?taxonomy=orbis_person_category&post_type=orbis_person | 1,423 | 2.20 | 34.16 | 36.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.09MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/orbis/includes/log.php+46
Methods with the same name as their class will not be constructors in a future version of PHP; Orbis_Log_Widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_orbis_log
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_orbis-log
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=orbis_person_category&post_type=orbis_person
- > Deprecated in wp-content/plugins/orbis/includes/log.php+46
Methods with the same name as their class will not be constructors in a future version of PHP; Orbis_Log_Widget has a deprecated constructor
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=orbis_person_category&post_type=orbis_person
- > Warning in wp-content/plugins/orbis/classes/orbis-plugin-manager.php+274
Declaration of Orbis_Empty_Upgrader_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=orbis_person_category&post_type=orbis_person
- > User notice in wp-includes/functions.php+5905
Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.)
- > GET request to /wp-admin/admin.php?page=orbis_stats
- > Notice in wp-content/plugins/orbis/admin/page-stats.php+25
Trying to get property 'number_registrations' of non-object
- > GET request to /wp-admin/admin.php?page=orbis_stats
- > Notice in wp-content/plugins/orbis/admin/page-stats.php+27
Trying to get property 'total_seconds' of non-object
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
Please fix the following
- 37× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/class-wp-upgrader.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/orbis/classes/orbis-plugin-manager.php on line 195
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/orbis/templates/emails/email-header.php:25
- > PHP Warning
Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in wp-content/plugins/orbis/templates/projects.php on line 6
- > PHP Notice
Undefined variable: pdo in wp-content/plugins/orbis/templates/projects-completed-not-invoiced.php on line 52
- > PHP Warning
Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in wp-content/plugins/orbis/templates/projects.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/orbis/templates/projects-to-invoice.php:59
- > PHP Fatal error
Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in wp-content/plugins/orbis/templates/projects.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/orbis/templates/projects-without-agreement.php:10
- > PHP Warning
Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/orbis/templates/projects.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbis/includes/companies.php:17
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: orbis, intranet
orbis/orbis.php Passed 13 tests
"Orbis" version 1.3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
124 characters long description:
Orbis is a powerful, extendable plugin to boost up your business. Project Management, Customer Relation Management & More...
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin22,377 lines of code in 157 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 88 | 3,399 | 12,866 | 17,365 |
PHP | 41 | 880 | 684 | 3,239 |
CSS | 19 | 216 | 213 | 1,199 |
PO File | 1 | 317 | 490 | 430 |
SQL | 8 | 1 | 9 | 144 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 8.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 3 | 4.11% |
▷ Public methods | 72 | 98.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.37% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
images/icon-32x32.png | 1.13KB | 0.61KB | ▼ 46.06% |
jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |