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: ▲0.07MB] [CPU: ▼5.61ms] Passed 4 tests
Analyzing server-side resources used by uPress Link
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.86 ▼5.09 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.46 ▼12.30 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 52.37 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.96 ▼4.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.28 ▲1.04 |
uPress Link /wp-admin/options-general.php?page=upress-link | 3.33 | 34.85 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for uPress Link
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.68 ▲0.31 | 1.69 ▼0.24 | 51.16 ▲4.36 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▲0.03 | 90.50 ▼2.86 | 43.98 ▲0.83 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.07 | 38.32 ▲0.31 | 34.90 ▲1.05 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.68 ▼0.35 | 644.00 ▼28.46 | 63.96 ▲2.35 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.02 | 97.09 ▼10.68 | 42.71 ▼2.41 |
uPress Link /wp-admin/options-general.php?page=upress-link | 900 | 2.11 | 33.26 | 25.57 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=upress-link
- > Notice in wp-content/plugins/upress-link/admin/options.php+41
Trying to access array offset on value of type bool
SRP 50% 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/upress-link/admin/options.php:2
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Screenshot #1 (uPress Link main view) image missing
upress-link/upress-link.php Passed 13 tests
The principal PHP file in "uPress Link" v. 1.3.1 is loaded by WordPress automatically on each request
92 characters long description:
uPress Link is a companion plugin for the WordPress hosting manager at https://www.upress.io
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected956 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 85 | 60 | 509 |
JavaScript | 2 | 44 | 12 | 274 |
CSS | 2 | 20 | 7 | 173 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 6.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin