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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.53ms] Passed 4 tests
Server-side resources used by Powie's pLinks PagePeeker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.88 ▼0.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.13 ▼3.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.89 ▲1.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.08 ▲2.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.32 ▲0.23 |
pLinks Setup /wp-admin/options-general.php?page=plinks/plinks_settings.php | 3.26 | 30.48 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Powie's pLinks PagePeeker: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.37 ▼1.38 | 1.77 ▼0.21 | 43.95 ▼4.28 |
Dashboard /wp-admin | 2,212 ▲27 | 5.88 ▼0.02 | 97.78 ▼6.75 | 39.42 ▼3.29 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▲0.00 | 40.67 ▲4.88 | 36.34 ▲5.05 |
Add New Post /wp-admin/post-new.php | 1,542 ▲10 | 18.24 ▼5.08 | 602.80 ▼68.80 | 46.96 ▲0.80 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.25 ▲0.02 | 95.92 ▼2.75 | 45.55 ▲0.65 |
pLinks Setup /wp-admin/options-general.php?page=plinks/plinks_settings.php | 1,163 | 3.55 | 72.01 | 50.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- 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)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/plinks/plinks_settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/plinks/plinks.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: pagepeeker, links, blogroll, plugin, shortcode
plinks/plinks.php Passed 13 tests
The main file in "Powie's pLinks PagePeeker" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Link directory pageview with pagepeeker preview and shortcodes
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 plugin363 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 48 | 56 | 184 |
PHP | 2 | 20 | 41 | 176 |
CSS | 1 | 1 | 1 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were 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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin