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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.66ms] Passed 4 tests
This is a short check of server-side resources used by Tekserve Press Mentions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.50 ▼3.69 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.45 ▼0.85 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.12 ▲1.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.31 ▼7.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 41.48 ▲8.43 |
Add New /wp-admin/post-new.php?post_type=tekserve_press | 3.40 | 46.82 |
Press Mentions /wp-admin/edit.php?post_type=tekserve_press | 3.31 | 36.36 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Tekserve Press Mentions
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.18 ▼1.20 | 1.67 ▼0.18 | 42.14 ▼5.40 |
Dashboard /wp-admin | 2,233 ▲48 | 4.88 ▼1.09 | 102.31 ▼10.38 | 38.15 ▼8.11 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.98 ▼0.03 | 35.08 ▼2.45 | 34.39 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,556 ▲22 | 23.44 ▲0.24 | 676.15 ▲63.68 | 49.01 ▼4.06 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.30 ▲0.09 | 105.77 ▲6.15 | 44.33 ▲1.73 |
Add New /wp-admin/post-new.php?post_type=tekserve_press | 2,522 | 7.73 | 163.64 | 64.57 |
Press Mentions /wp-admin/edit.php?post_type=tekserve_press | 1,123 | 1.93 | 31.42 | 31.19 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tekserve-press-mentions/single-tekserve_press.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tekserve-press-mentions/tekserve-press-mentions.php:24
- > 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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (This is pretty much it. Woo.) image not found
tekserve-press-mentions/tekserve-press-mentions.php Passed 13 tests
The principal PHP file in "Tekserve Press Mentions" v. 1.1 is loaded by WordPress automatically on each request
59 characters long description:
Custom Post Type for Press Mentions; Includes Custom Fields
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin155 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 33 | 112 |
Markdown | 1 | 26 | 0 | 37 |
CSS | 1 | 0 | 0 | 6 |
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.44 |
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 | 10 | |
▷ Named functions | 10 | 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
1 PNG file occupies 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 164.20KB | 49.08KB | ▼ 70.11% |