84% find-content-ids

Code Review | Find Content IDs

WordPress plugin Find Content IDs scored84%from 54 tests.

About plugin

  • Plugin page: find-content-ids
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.7
  • WordPress version: 6.3.1
  • First release: Mar 24, 2017
  • Latest release: Apr 7, 2017
  • Number of updates: 8
  • Update frequency: N/A
  • Top authors: OptimizeWorldwide (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /460 total downloads

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
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼8.93ms] Passed 4 tests

Analyzing server-side resources used by Find Content IDs
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.24 ▼3.21
Dashboard /wp-admin3.31 ▲0.0143.32 ▼8.08
Posts /wp-admin/edit.php3.36 ▲0.0045.12 ▼4.91
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.47 ▼19.52
Media Library /wp-admin/upload.php3.23 ▲0.0033.58 ▼0.12
Find Content IDs /wp-admin/tools.php?page=find-content-ids3.1729.80

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Find Content IDs
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3314.74 ▲0.491.82 ▼0.1644.67 ▼0.77
Dashboard /wp-admin2,210 ▲195.80 ▼0.1095.62 ▼11.5039.10 ▼1.73
Posts /wp-admin/edit.php2,096 ▲72.05 ▲0.0739.52 ▼0.5335.17 ▼2.31
Add New Post /wp-admin/post-new.php1,545 ▲1618.15 ▼0.02676.12 ▲76.6455.27 ▲0.80
Media Library /wp-admin/upload.php1,389 ▲14.21 ▼0.0696.86 ▼4.4544.25 ▼0.20
Find Content IDs /wp-admin/tools.php?page=find-content-ids7822.0524.0621.98

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 did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=find-content-ids
    • > Notice in wp-content/plugins/find-content-ids/find-content-ids.php+36
    Undefined index: content
    • > GET request to /wp-admin/tools.php?page=find-content-ids
    • > Warning in wp-content/plugins/find-content-ids/find-content-ids.php+28
    Creating default object from empty value

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: posts, id, content, post, ids...

find-content-ids/find-content-ids.php Passed 13 tests

The entry point to "Find Content IDs" version 1.0 is a PHP file that has certain tags in its header comment area
60 characters long description:
Search the contents of any post type and find the posts' ID.

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
Success! There were no dangerous files found in this plugin35 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP151235

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin