Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.34MB] [CPU: ▼302.98ms] Passed 4 tests
Analyzing server-side resources used by Ada2go - Mark your old Articles
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.05 | 43.80 ▼7.83 |
Dashboard /wp-admin | 3.41 ▲0.01 | 32.75 ▼2.43 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.78 ▲0.38 |
Add New Post /wp-admin/post-new.php | 5.66 ▼1.34 | 59.33 ▼1,201.17 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 29.07 ▼0.50 |
Mark Older Posts /wp-admin/options-general.php?page=a2g_mop_settings | 3.33 | 23.99 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, no new options
New tables |
---|
wp_markoldposts_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Ada2go - Mark your old Articles
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,772 ▲18 | 15.81 ▲0.07 | 5.68 ▲0.10 | 2.23 ▼0.55 |
Dashboard /wp-admin | 2,896 ▲38 | 6.12 ▼0.08 | 115.80 ▼16.44 | 151.97 ▼9.26 |
Posts /wp-admin/edit.php | 2,698 ▲13 | 3.24 ▼0.00 | 62.13 ▼0.76 | 133.09 ▼10.40 |
Add New Post /wp-admin/post-new.php | 1,716 ▲55 | 21.06 ▼0.65 | 415.33 ▲24.65 | 155.76 ▲3.67 |
Media Library /wp-admin/upload.php | 1,705 ▲4 | 5.51 ▲0.04 | 145.34 ▲9.76 | 186.93 ▲1.99 |
Mark Older Posts /wp-admin/options-general.php?page=a2g_mop_settings | 1,100 | 2.56 | 54.32 | 113.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ada2go-mark-your-old-articles/ada2go-mark-old-posts.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ada2go-mark-your-old-articles/settings_page.php:42
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: old post, mark post, old article, markierung, hinweis...
ada2go-mark-your-old-articles/ada2go-mark-old-posts.php 77% from 13 tests
The primary PHP file in "Ada2go - Mark your old Articles" version 1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 398 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ada2go-mark-your-old-articles.php" instead of "ada2go-mark-old-posts.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected291 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 23 | 57 | 182 |
PO File | 1 | 26 | 26 | 95 |
CSS | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected