Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.57MB] [CPU: ▼5.04ms] Passed 4 tests
A check of server-side resources used by Clonable - Translate Woocommerce / WordPress website. Multilingual in 5 minutes.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.57 | 45.55 ▲4.58 |
Dashboard /wp-admin | 3.93 ▲0.59 | 51.22 ▼13.10 |
Posts /wp-admin/edit.php | 3.98 ▲0.63 | 45.30 ▼0.71 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 84.32 ▼10.94 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 41.93 ▲10.05 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
clonable_public_key |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Clonable - Translate Woocommerce / WordPress website. Multilingual in 5 minutes.
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲39 | 14.25 ▼0.10 | 1.67 ▼0.08 | 43.43 ▲0.25 |
Dashboard /wp-admin | 2,209 ▲28 | 5.55 ▼0.07 | 89.20 ▼18.20 | 71.70 ▲33.99 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 1.96 ▼0.04 | 37.74 ▲0.19 | 33.74 ▼2.95 |
Add New Post /wp-admin/post-new.php | 1,550 ▲15 | 23.34 ▼1.77 | 668.77 ▲37.13 | 165.50 ▲105.68 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.24 ▲0.08 | 107.10 ▲4.52 | 66.97 ▲24.33 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\Views\\ViewInterface' not found in wp-content/plugins/clonable/views/LanguageSwitcherView.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\MiddlewareInterface' not found in wp-content/plugins/clonable/middleware/ClonedSite.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\Views\\ViewInterface' not found in wp-content/plugins/clonable/views/OnboardingView.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\Views\\ViewInterface' not found in wp-content/plugins/clonable/views/AnalyticsView.php:8
- > PHP Fatal error
Uncaught Error: Class 'Clonable\\Controllers\\Controller' not found in wp-content/plugins/clonable/controllers/AnalyticsController.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\MiddlewareInterface' not found in wp-content/plugins/clonable/middleware/WooCommerce.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\Views\\ViewInterface' not found in wp-content/plugins/clonable/views/LanguageTagView.php:11
- > PHP Fatal error
Uncaught Error: Class 'Clonable\\Controllers\\Controller' not found in wp-content/plugins/clonable/controllers/LanguageSwitcherController.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Clonable\\MiddlewareInterface' not found in wp-content/plugins/clonable/middleware/Auth.php:7
- > PHP Fatal error
Uncaught Error: Class 'Clonable\\Controllers\\Controller' not found in wp-content/plugins/clonable/controllers/LanguageTagController.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: seo, multilingual, hreflang, translations, subfolder...
clonable/clonable-wp.php 92% from 13 tests
The principal PHP file in "Clonable - Translate Woocommerce / WordPress website. Multilingual in 5 minutes." v. 2.0.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("clonable.php" instead of "clonable-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected11,382 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 244 | 124 | 4,977 |
CSS | 5 | 593 | 355 | 3,775 |
PHP | 47 | 484 | 529 | 2,630 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 3 | |
Classes | 38 | |
▷ Abstract classes | 1 | 2.63% |
▷ Concrete classes | 37 | 97.37% |
▷ Final classes | 0 | 0.00% |
Methods | 193 | |
▷ Static methods | 36 | 18.65% |
▷ Public methods | 170 | 88.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 11.92% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 13 | |
▷ Global constants | 2 | 15.38% |
▷ Class constants | 11 | 84.62% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/flags.png | 48.30KB | 45.59KB | ▼ 5.63% |
images/clonable-full-logo.png | 57.57KB | 17.41KB | ▼ 69.76% |
images/clonable.png | 0.39KB | 0.39KB | 0.00% |