Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.07ms] Passed 4 tests
An overview of server-side resources used by Tag TarteAuCitron for Polylang
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.50 ▼3.09 |
Dashboard /wp-admin | 3.35 ▲0.01 | 43.37 ▼16.23 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.33 ▼3.71 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.09 ▼9.23 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.18 ▲0.91 |
Tag TarteAuCitron /wp-admin/options-general.php?page=tarteaucitron-tag-page | 3.24 | 28.29 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Tag TarteAuCitron for Polylang
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.17 ▼0.11 | 1.54 ▼0.07 | 36.82 ▼10.01 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.01 | 90.99 ▼6.92 | 40.35 ▼6.42 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.99 ▲0.00 | 38.95 ▲4.12 | 34.64 ▼5.04 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.01 ▼5.17 | 596.48 ▼49.81 | 78.93 ▲25.61 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▲0.01 | 95.90 ▼1.87 | 41.90 ▲0.24 |
Tag TarteAuCitron /wp-admin/options-general.php?page=tarteaucitron-tag-page | 790 | 2.00 | 23.78 | 27.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/tag-tarteaucitron-advanced/admin/partials/tarteaucitron-tag-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires at least: Version not formatted correctly
tag-tarteaucitron-advanced/tarteaucitron-tag.php 77% from 13 tests
Analyzing the main PHP file in "Tag TarteAuCitron for Polylang" version 1.0.3
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tag-tarteaucitron-advanced.php" instead of "tarteaucitron-tag.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected224 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 66 | 366 | 224 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 18.18% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected