Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.04ms] Passed 4 tests
Analyzing server-side resources used by Basic Bilingual
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 48.33 ▲11.90 |
Dashboard /wp-admin | 3.42 ▲0.08 | 51.03 ▼15.36 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 55.42 ▲8.89 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 93.97 ▼2.90 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 42.37 ▲9.23 |
Basic Bilingual /wp-admin/options-general.php?page=basic-bilingual | 3.30 | 39.96 |
Server storage [IO: ▲0.18MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Basic Bilingual
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 14.48 ▲0.30 | 2.26 ▲0.52 | 46.27 ▲5.02 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▼0.05 | 109.41 ▲2.67 | 40.32 ▼3.13 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.03 ▲0.03 | 40.10 ▲2.58 | 35.99 ▲0.83 |
Add New Post /wp-admin/post-new.php | 6,286 ▲4,767 | 19.02 ▼3.91 | 882.92 ▲225.11 | 64.05 ▲11.91 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▲0.01 | 101.02 ▼2.22 | 45.82 ▼0.20 |
Basic Bilingual /wp-admin/options-general.php?page=basic-bilingual | 1,486 | 3.06 | 59.55 | 39.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/basic-bilingual/basic-bilingual.php:41
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: bilingual, multilingual, language, translation, languages
basic-bilingual/basic-bilingual.php Passed 13 tests
The entry point to "Basic Bilingual" version 1.3.5 is a PHP file that has certain tags in its header comment area
60 characters long description:
Makes managing your blog with two languages less cumbersome.
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
There were no executable files found in this plugin1,941 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 606 | 630 | 1,278 |
PHP | 2 | 132 | 77 | 655 |
CSS | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 49 | |
▷ Static methods | 1 | 2.04% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected