Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼19.47ms] Passed 4 tests
This is a short check of server-side resources used by OpenEstate PHP-Wrapper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 32.20 ▼7.19 |
Dashboard /wp-admin | 3.41 ▲0.10 | 43.14 ▼7.76 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 43.49 ▼6.26 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.05 ▼56.65 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 32.59 ▲3.47 |
OpenEstate-Wrapper /wp-admin/options-general.php?page=openestate_wrapper_setup | 3.30 | 31.75 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for OpenEstate PHP-Wrapper
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.12 ▼1.18 | 1.62 ▼0.23 | 45.66 ▼0.61 |
Dashboard /wp-admin | 2,210 ▲22 | 5.87 ▲0.01 | 109.90 ▼9.98 | 42.01 ▼2.92 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.04 | 40.32 ▼0.03 | 36.43 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.65 ▼0.03 | 679.47 ▼23.55 | 52.00 ▼10.85 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▲0.07 | 98.78 ▼11.82 | 43.51 ▼2.47 |
OpenEstate-Wrapper /wp-admin/options-general.php?page=openestate_wrapper_setup | 918 | 2.02 | 25.66 | 32.23 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please fix the following
- 1× 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/openestate-php-wrapper/openestate-php-wrapper.php:155
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
openestate-php-wrapper/openestate-php-wrapper.php Passed 13 tests
"OpenEstate PHP-Wrapper" version 0.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
This plugin integrates OpenEstate-PHP-Export 1.x into a WordPress blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected766 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 77 | 119 | 645 |
PO File | 1 | 44 | 49 | 121 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
openestate.png | 4.95KB | 2.91KB | ▼ 41.20% |