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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲2.76ms] Passed 4 tests
A check of server-side resources used by Flexicon - Very fresh Lexicon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.81 ▲2.03 |
Dashboard /wp-admin | 3.39 ▲0.09 | 59.48 ▲10.20 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 55.15 ▲8.00 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 87.80 ▼5.22 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.43 ▲6.21 |
Einstellungen /wp-admin/edit.php?post_type=flex&page=flex_settings | 3.32 | 36.19 |
Alle Begriffe /wp-admin/edit.php?post_type=flex | 3.34 | 39.65 |
Neuer Begriff /wp-admin/post-new.php?post_type=flex | 3.43 | 55.11 |
Kategorien /wp-admin/edit-tags.php?taxonomy=categories&post_type=flex | 3.30 | 38.39 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Very_Fresh_Lexicon_url |
Very_Fresh_Lexicon_css |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flexicon - Very fresh Lexicon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲189 | 13.69 ▼1.06 | 4.91 ▲3.17 | 37.95 ▼0.74 |
Dashboard /wp-admin | 2,247 ▲56 | 4.85 ▼1.04 | 98.97 ▼13.50 | 69.41 ▲28.19 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.00 ▼0.04 | 37.74 ▼3.79 | 33.77 ▼2.22 |
Add New Post /wp-admin/post-new.php | 1,553 ▲33 | 23.11 ▼0.22 | 749.61 ▲68.36 | 59.00 ▲4.09 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.12 ▲0.01 | 97.00 ▼15.06 | 76.31 ▲29.14 |
Einstellungen /wp-admin/edit.php?post_type=flex&page=flex_settings | 892 | 2.03 | 24.72 | 31.40 |
Alle Begriffe /wp-admin/edit.php?post_type=flex | 1,105 | 1.95 | 31.06 | 31.06 |
Neuer Begriff /wp-admin/post-new.php?post_type=flex | 2,386 | 7.62 | 169.60 | 128.93 |
Kategorien /wp-admin/edit-tags.php?taxonomy=categories&post_type=flex | 1,303 | 2.14 | 25.84 | 31.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- Very_Fresh_Lexicon_url
- widget_theysaidso_widget
- widget_recent-posts
- Very_Fresh_Lexicon_css
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/very-fresh-lexicon/admin/partials/very-fresh-lexicon-admin-display.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/very-fresh-lexicon/public/partials/archive-flex.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Donate link: Invalid url: "freshlabs.de"
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Example of a custom Very fresh Lexicon), #2 (Example of the custom CSS editor in Very fresh Lexicon), #3 (The Very fresh Lexicon shortcode generator)
very-fresh-lexicon/very-fresh-lexicon.php Passed 13 tests
Analyzing the main PHP file in "Flexicon - Very fresh Lexicon" version 1.0.5
78 characters long description:
Flexicon is a simple yet customizable plugin to create a lexicon in wordpress.
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
Success! There were no dangerous files found in this plugin764 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 220 | 634 | 473 |
CSS | 2 | 19 | 9 | 268 |
JavaScript | 2 | 6 | 27 | 23 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 1.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 0.47KB | 0.47KB | 0.00% |
icon-256x256.png | 4.35KB | 4.54KB | 0.00% |
admin/img/logo.png | 13.54KB | 7.34KB | ▼ 45.80% |