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.02MB] [CPU: ▼0.31ms] Passed 4 tests
Analyzing server-side resources used by PostPeek - One-Click Access to Your Search Console
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.43 ▼5.50 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.47 ▼4.93 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.77 ▲2.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 99.40 ▲6.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.89 ▲6.72 |
PostPeek /wp-admin/options-general.php?page=postpeek | 3.20 | 31.40 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
postpeek_settings_visited |
db_upgraded |
postpeek_activated |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by PostPeek - One-Click Access to Your Search Console
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.59 ▼0.64 | 1.66 ▼0.23 | 39.50 ▼9.71 |
Dashboard /wp-admin | 2,241 ▲53 | 4.82 ▼1.07 | 107.07 ▼6.44 | 42.54 ▼3.68 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.19 ▲0.14 | 41.60 ▲4.69 | 35.99 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,534 ▲17 | 17.47 ▼0.09 | 618.87 ▼16.89 | 50.01 ▲0.45 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.17 ▲0.00 | 99.61 ▲2.58 | 45.68 ▲3.45 |
PostPeek /wp-admin/options-general.php?page=postpeek | 900 | 2.20 | 25.58 | 27.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- postpeek_activated
- can_compress_scripts
- widget_theysaidso_widget
- postpeek_settings_visited
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/postpeek/includes/PostPeek_AdminNotices.php:14
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: search console, insights, google, posts, quick actions
postpeek/postpeek.php Passed 13 tests
The primary PHP file in "PostPeek - One-Click Access to Your Search Console" version 1.1.3 is used by WordPress to initiate all plugin functionality
117 characters long description:
PostPeek: Immediate Post Insights, a convenient plugin that adds a direct link to search console stats for each post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected272 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 81 | 71 | 272 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 78.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 21.05% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin