Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.27ms] Passed 4 tests
Analyzing server-side resources used by RRZE-Access
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 47.41 ▲7.62 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.38 ▼1.95 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.88 ▲4.55 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 97.05 ▼8.55 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 42.30 ▲4.85 |
Zugriffsbeschränkung-Einrichtung /wp-admin/options-general.php?page=access-setup | 3.27 | 30.06 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
_rrze_access_version |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RRZE-Access
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.68 ▲0.26 | 1.64 ▼0.40 | 42.52 ▼1.57 |
Dashboard /wp-admin | 2,200 ▲26 | 5.64 ▲0.05 | 87.01 ▼20.42 | 41.06 ▼1.28 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.01 ▲0.02 | 36.31 ▼7.82 | 36.58 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.09 ▲0.05 | 667.83 ▲27.70 | 76.12 ▲16.13 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.32 ▲0.23 | 109.43 ▲6.77 | 48.68 ▲3.44 |
Zugriffsbeschränkung-Einrichtung /wp-admin/options-general.php?page=access-setup | 809 | 2.00 | 23.47 | 31.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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- _rrze_access_version
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=access-setup
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=access-setup
- > 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
- 2× 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/rrze-access/rrze-access.php:544
- > PHP Fatal error
Cannot redeclare wptexturize() (previously declared in wp-includes/formatting.php:37) in wp-includes/formatting.php on line 37
- > 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)
No browser issues were 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
Attributes that require attention:
- Screenshots: Screenshot #1 (Beschränkung von IP-Adressen auf einen Artikel) image missing
rrze-access/rrze-access.php Passed 13 tests
The primary PHP file in "RRZE-Access" version 1.0 is used by WordPress to initiate all plugin functionality
95 characters long description:
Zugriffsbeschränkung von IP-Adressen auf Artikel, Seiten und die entsprechenden Media-Dateien.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin647 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 274 | 26 | 597 |
JavaScript | 1 | 6 | 0 | 42 |
CSS | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 57.50 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 38 | 100.00% |
▷ Public methods | 18 | 47.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 52.63% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 2 | 13.33% |
▷ Class constants | 13 | 86.67% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 102.21KB | 45.70KB | ▼ 55.29% |