Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼7.07MB] [CPU: ▼1,432,596.50ms] Passed 4 tests
Analyzing server-side resources used by Eve Online Pheal API
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 46.06 ▲0.61 |
Dashboard /wp-admin | 3.36 ▼28.30 | 50.14 ▼5,730,372.74 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 52.25 ▼4.77 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 95.05 ▼9.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 37.69 ▲5.36 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eve Online Pheal API
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.21 ▼0.14 | 1.71 ▼0.01 | 46.76 ▲1.34 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.05 | 94.88 ▼3.58 | 41.76 ▼0.76 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.07 | 39.26 ▲3.03 | 36.52 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.72 ▼4.39 | 628.13 ▼119.11 | 66.48 ▲5.48 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.08 | 100.33 ▼5.56 | 41.46 ▲0.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PhealException' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealAPIException.php:31
- > PHP Fatal error
Uncaught Error: Interface 'PhealAccessInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealNullAccess.php:31
- > PHP Fatal error
Uncaught Error: Interface 'PhealArrayInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealRowSet.php:31
- > PHP Fatal error
Uncaught Error: Interface 'PhealArrayInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealRowSetRow.php:31
- > PHP Fatal error
Uncaught Error: Class 'PhealException' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealAccessException.php:30
- > PHP Fatal error
Uncaught Error: Interface 'PhealArrayInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealElement.php:31
- > PHP Fatal error
Uncaught Error: Interface 'PhealArrayInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealContainer.php:32
- > PHP Fatal error
Uncaught Error: Interface 'PhealCacheInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealNullCache.php:31
- > PHP Fatal error
Uncaught Error: Class 'PhealException' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealConnectionException.php:30
- > PHP Fatal error
Uncaught Error: Interface 'PhealLogInterface' not found in wp-content/plugins/eve-online-pheal-api/phealclass/PhealFileLog.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: api, eve online, class, eve
eve-online-pheal-api/eve-phealapi.php 92% from 13 tests
"Eve Online Pheal API" version 0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("eve-online-pheal-api.php" instead of "eve-phealapi.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,330 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 331 | 1,550 | 1,081 |
Markdown | 1 | 59 | 0 | 224 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 6.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 6 | 7.69% |
▷ Public methods | 70 | 89.74% |
▷ Protected methods | 8 | 10.26% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin