Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.84ms] Passed 4 tests
This is a short check of server-side resources used by Mark Posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 33.33 ▼2.68 |
Dashboard /wp-admin | 3.36 ▲0.02 | 47.18 ▼10.86 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.38 ▼6.99 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.79 ▼10.82 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.18 ▲1.19 |
Mark Posts /wp-admin/options-general.php?page=mark-posts | 3.39 | 31.25 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
mark_posts_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Mark Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲121 | 13.33 ▼1.05 | 1.79 ▼0.05 | 41.32 ▲5.15 |
Dashboard /wp-admin | 2,248 ▲60 | 5.88 ▼0.01 | 98.57 ▼0.49 | 42.02 ▼1.39 |
Posts /wp-admin/edit.php | 2,180 ▲91 | 2.35 ▲0.29 | 37.28 ▼4.03 | 34.98 ▼3.24 |
Add New Post /wp-admin/post-new.php | 6,236 ▲4,703 | 19.08 ▼4.19 | 894.63 ▲211.46 | 65.39 ▲4.40 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.19 ▼0.07 | 97.47 ▼5.27 | 42.90 ▲0.74 |
Mark Posts /wp-admin/options-general.php?page=mark-posts | 899 | 1.98 | 29.89 | 26.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- mark_posts_settings
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mark-posts/mark-posts.php Passed 13 tests
"Mark Posts" version 2.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
89 characters long description:
Mark and highlight posts, pages and posts of custom post types within the posts overview.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,452 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 189 | 564 | 790 |
Markdown | 4 | 122 | 0 | 431 |
CSS | 2 | 15 | 2 | 97 |
JavaScript | 2 | 28 | 19 | 94 |
JSON | 1 | 0 | 0 | 40 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 7 | 19.44% |
▷ Public methods | 31 | 86.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.89% |
Functions | 16 | |
▷ Named functions | 13 | 81.25% |
▷ Anonymous functions | 3 | 18.75% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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