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.03MB] [CPU: ▼1.80ms] Passed 4 tests
Analyzing server-side resources used by FirstImpression.io
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.18 ▼1.53 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.83 ▼4.99 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.03 ▲0.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.44 ▼1.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.62 ▲5.89 |
FirstImpression.io /wp-admin/options-general.php?page=firstimpression | 3.20 | 32.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by FirstImpression.io
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲188 | 13.80 ▼0.56 | 27.02 ▲24.95 | 48.08 ▲3.46 |
Dashboard /wp-admin | 2,202 ▲28 | 5.64 ▲0.05 | 90.01 ▼15.55 | 38.74 ▼5.68 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.02 | 40.13 ▲0.32 | 36.71 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.61 ▼0.49 | 606.36 ▼56.71 | 50.16 ▲6.71 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.07 | 95.01 ▼12.07 | 43.05 ▼2.62 |
FirstImpression.io /wp-admin/options-general.php?page=firstimpression | 844 | 1.65 | 23.45 | 25.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=firstimpression
- > Notice in wp-content/plugins/appendad/appendad.php+160
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/appendad/appendad.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid URI ("")
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== appendad ===
)
appendad/appendad.php Passed 13 tests
Analyzing the main PHP file in "FirstImpression.io" version 1.4.6
122 characters long description:
FirstImpression.io helps publishers focus on content by freeing them from Ad-Tech and Ad-Operations with one line of code.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin179 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 51 | 179 |
PHP code Passed 2 tests
Analyzing 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.21 |
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 | 11 | |
▷ Named functions | 11 | 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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 7.92KB | 3.06KB | ▼ 61.37% |
assets/icon-128x128.png | 3.23KB | 1.90KB | ▼ 41.26% |
assets/appendad.png | 7.93KB | 3.84KB | ▼ 51.60% |