Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.46ms] Passed 4 tests
An overview of server-side resources used by Falang for Divi Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.50 ▼3.93 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.68 ▼3.69 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.34 ▼4.75 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 93.65 ▼1.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 34.49 ▲1.57 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Falang for Divi Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.22 ▼0.13 | 1.70 ▼0.25 | 37.46 ▼8.24 |
Dashboard /wp-admin | 2,206 ▲26 | 5.61 ▼0.05 | 92.30 ▼5.48 | 41.12 ▼6.65 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.09 ▲0.08 | 40.76 ▲0.49 | 35.26 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.22 ▲0.05 | 670.55 ▼28.68 | 56.72 ▼0.71 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.27 ▲0.07 | 98.75 ▲1.19 | 43.08 ▼1.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/falang-for-divi-lite/falang-for-divi-lite.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 require attention:
- Donate link: Invalid url: "www.faboba.com/falangw/"
- Screenshots: These screenshots require images: #1 (Button Translation page), #2 (Text Translation page), #3 (Accordion Translation page)
falang-for-divi-lite/falang-for-divi-lite.php Passed 13 tests
The entry point to "Falang for Divi Lite" version 1.14 is a PHP file that has certain tags in its header comment area
39 characters long description:
Manage translation for Divi with Falang
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
There were no executable files found in this plugin674 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 177 | 298 | 575 |
JSON | 11 | 0 | 0 | 99 |
PHP code Passed 2 tests
A brief analysis 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.44 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
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 | 4 | 10.53% |
▷ Public methods | 29 | 76.32% |
▷ Protected methods | 3 | 7.89% |
▷ Private methods | 6 | 15.79% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 100.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
There were not PNG files found in your plugin