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.03MB] [CPU: ▼3.50ms] Passed 4 tests
This is a short check of server-side resources used by WPCasa Polylang
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.35 ▲2.92 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.51 ▼4.56 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.29 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.89 ▼10.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.16 ▲1.09 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WPCasa Polylang
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.30 ▼1.29 | 1.82 ▼0.10 | 47.47 ▲5.67 |
Dashboard /wp-admin | 2,221 ▲15 | 4.83 ▼1.04 | 103.61 ▼3.62 | 42.26 ▼3.59 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.05 | 35.71 ▼6.59 | 35.18 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.17 ▼0.43 | 674.00 ▼4.90 | 52.27 ▼5.00 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.14 ▼0.13 | 97.93 ▼13.45 | 42.45 ▼6.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
wpcasa-polylang/wpcasa-polylang.php Passed 13 tests
The primary PHP file in "WPCasa Polylang" version 1.1.1 is used by WordPress to initiate all plugin functionality
78 characters long description:
Add support for Polylang to manage WPCasa property data in multiple languages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected414 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 162 | 340 | 231 |
XML | 1 | 21 | 0 | 109 |
PO File | 2 | 12 | 12 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
No PNG images were found in this plugin